Borderou de evaluare (job #1335848)
Utilizator | Data | 5 februarie 2015 23:12:06 | |
---|---|---|---|
Problema | Radix Sort | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void introsort_r(int*, int, int, int)’:
user.cpp:16:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(depth=0)
^
user.cpp: In function ‘int main()’:
user.cpp:117:28: error: ‘y’ was not declared in this scope
fprintf(h,"%d ",arrayNum[y]);
^
user.cpp:109:19: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&t);
^
user.cpp:112:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&arrayNum[y]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !