Borderou de evaluare (job #851013)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Pătrate4 (clasa a 5-a) | Compilator | c |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 2 feb. 2026 16:24:08 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:25:15: error: 'mid' undeclared (first use in this function)
25 | stanga=4*(mid-1)*mijloc+1;
| ^~~
main.c:25:15: note: each undeclared identifier is reported only once for each function it appears in
main.c:33:12: error: expected ';' before '}' token
33 | gasit=1
| ^
| ;
34 | }
| ~
main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | fscanf(fin, "%d", &C);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:12:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf(fin, "%d", &M);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:17:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | fscanf(fin, "%d", &N);
| ^~~~~~~~~~~~~~~~~~~~~