Borderou de evaluare (job #1811355)

Utilizator NinjaCubeMihai Radovici NinjaCube Data 21 noiembrie 2016 10:04:49
Problema Radix Sort Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int count_sort(int)’: user.cpp:20:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: At global scope: user.cpp:39:11: error: redefinition of ‘const int bucket’ const int bucket=8,lim=(1<<bucket)-1; ^ user.cpp:5:11: error: ‘const int bucket’ previously defined here const int bucket=8,lim=(1<<bucket)-1; ^ user.cpp:39:20: error: redefinition of ‘const int lim’ const int bucket=8,lim=(1<<bucket)-1; ^ user.cpp:5:20: error: ‘const int lim’ previously defined here const int bucket=8,lim=(1<<bucket)-1; ^ user.cpp:40:12: error: redefinition of ‘int vaz [255]’ int vaz[lim],v[10000010],v1[10000010],n; ^ user.cpp:6:5: error: ‘int vaz [255]’ previously declared here int vaz[lim],v[10000010],v1[10000010],n; ^ user.cpp:40:24: error: redefinition of ‘int v [10000010]’ int vaz[lim],v[10000010],v1[10000010],n; ^ user.cpp:6:14: error: ‘int v [10000010]’ previously declared here int vaz[lim],v[10000010],v1[10000010],n; ^ user.cpp:40:37: error: redefinition of ‘int v1 [10000010]’ int vaz[lim],v[10000010],v1[10000010],n; ^ user.cpp:6:26: error: ‘int v1 [10000010]’ previously declared here int vaz[lim],v[10000010],v1[10000010],n; ^ user.cpp:40:39: error: redefinition of ‘int n’ int vaz[lim],v[10000010],v1[10000010],n; ^ user.cpp:6:39: error: ‘int n’ previously declared here int vaz[lim],v[10000010],v1[10000010],n; ^ user.cpp: In function ‘int get_num(int, int)’: user.cpp:42:5: error: redefinition of ‘int get_num(int, int)’ int get_num(int x,int ind) ^ user.cpp:8:5: error: ‘int get_num(int, int)’ previously defined here int get_num(int x,int ind) ^ user.cpp: In function ‘int count_sort(int)’: user.cpp:47:5: error: redefinition of ‘int count_sort(int)’

Ceva nu functioneaza?