Borderou de evaluare (job #2692827)
Utilizator | Data | 3 ianuarie 2021 21:36:05 | |
---|---|---|---|
Problema | Radix Sort | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void countSort(int*, int, int)':
main.cpp:28:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for( i = 1; i < 10; i++)
^~~
main.cpp:30:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(i = n - 1; i >= 0; i--)
^~~
main.cpp: In function 'void print(int*, int)':
main.cpp:49:8: error: 'v' was not declared in this scope
if(v[i + 1] == v[i]);
^
main.cpp: In function 'int main()':
main.cpp:56:21: warning: unused variable 'victim' [-Wunused-variable]
int n ,a ,b ,c, victim;
^~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !