Borderou de evaluare (job #842132)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Hanoi (clasele 7-8) | Compilator | c |
| Rundă | Tema 6 Clasa a 7-a | Status | evaluat |
| Dată | 15 nov. 2025 18:36:34 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'hanoi':
main.c:6:15: error: 'ind' undeclared (first use in this function); did you mean 'int'?
6 | moves[ind][0] = x;
| ^~~
| int
main.c:6:15: note: each undeclared identifier is reported only once for each function it appears in
main.c: In function 'main':
main.c:24:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
24 | fscanf(fin,"%d",&n);
| ^~~~~~~~~~~~~~~~~~~