Borderou de evaluare (job #823677)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Felinare (clasa a 5-a) | Compilator | c-32 |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 12 mai 2025 18:28:26 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:7:26: error: redeclaration of 'i' with no linkage
7 | int n, i, j, ok = 0, i = 0, z = 0;
| ^
main.c:7:12: note: previous declaration of 'i' with type 'int'
7 | int n, i, j, ok = 0, i = 0, z = 0;
| ^
main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf (fin, "%d", &n);
| ^~~~~~~~~~~~~~~~~~~~~~