Borderou de evaluare (job #782189)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cyber (clasa 5-6) | Compilator | c-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 11 iul. 2024 13:01:06 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:48:5: error: expected declaration or statement at end of input
48 | return 0;
| ^~~~~~
main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf (fin, "%d", &n);
| ^~~~~~~~~~~~~~~~~~~~~~
main.c:16:10: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | fscanf (fin, "%d", &v[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~