Borderou de evaluare (job #605613)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Îngerași (clasa a 5-a) | Compilator | c-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 7 sept. 2021 14:20:36 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:14:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
14 | if(v[i]<min)
| ^~
main.c:16:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
16 | ok=min;
| ^~
main.c:16:13: error: 'ok' undeclared (first use in this function)
main.c:16:13: note: each undeclared identifier is reported only once for each function it appears in
main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | fscanf(fin,"%d",&n);
| ^~~~~~~~~~~~~~~~~~~
main.c:13:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf(fin,"%d",&v[i]);
| ^~~~~~~~~~~~~~~~~~~~~~