Borderou de evaluare (job #2717862)
Utilizator | Data | 8 martie 2021 08:56:36 | |
---|---|---|---|
Problema | Zigsort | Status | done |
Runda | Arhiva ICPC | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void sort1(FILE*, FILE*, int*, int, int)':
main.cpp:36:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i =1; i<=k1; i++)
^~~
main.cpp:37:33: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
fprintf(g, "%d ", s[i]);s
^
main.cpp:38:1: error: expected ';' before '}' token
}
^
main.cpp:38:1: warning: statement has no effect [-Wunused-value]
main.cpp:9:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d ", &v[i]);
^
main.cpp: In function 'int main()':
main.cpp:44:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d ", &tst);
^
main.cpp:48:35: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d", &n, &k);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !