Borderou de evaluare (job #797907)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Bila1 (baraj gimnaziu) | Compilator | c-32 |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 26 nov. 2024 21:10:00 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:25:17: error: 't1' undeclared (first use in this function); did you mean 's1'?
25 | t1=1;
| ^~
| s1
main.c:25:17: note: each undeclared identifier is reported only once for each function it appears in
main.c:49:26: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
49 | else if (col+1<m&&x[lin][col+1]==minim)
| ^~
main.c:51:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
51 | if (y[lin][col]>0)
| ^~
main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | fscanf(fin,"%d%d",&n,&m);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:13:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf(fin,"%d",&x[lin][col]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~