Borderou de evaluare (job #792554)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Ouă (clasa a 6-a) | Compilator | c-32 |
| Rundă | Tema 14 Clasa a 6-a | Status | evaluat |
| Dată | 2 nov. 2024 16:15:53 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:43:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
43 | if (x[lin[i]][col[i]] >= 0)
| ^~
main.c:50:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
50 | lin[i] += dirl[dir[i]];
| ^~~
main.c:52:13: error: 'else' without a previous 'if'
52 | else
| ^~~~
main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf(fin,"%d%d",&l,&p);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:22:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
22 | fscanf(fin,"%d%d%d",&lin1,&col1,&v);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:25:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
25 | fscanf(fin,"%d",&n);
| ^~~~~~~~~~~~~~~~~~~
main.c:27:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
27 | fscanf(fin,"%d%d",&lin[i],&col[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~