Borderou de evaluare (job #722393)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Tetris1 (clasa a 6-a) | Compilator | c-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 30 mai 2023 19:38:35 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:29:10: warning: statement with no effect [-Wunused-value]
29 | }n
| ^
main.c:29:11: error: expected ';' before 'if'
29 | }n
| ^
| ;
30 | if( ch != -1 ){
| ~~
main.c:9:42: warning: variable 'j' set but not used [-Wunused-but-set-variable]
9 | int n, m, l, c, latura, coloana, cl, j, r1, r2, max;
| ^
main.c:9:38: warning: unused variable 'cl' [-Wunused-variable]
9 | int n, m, l, c, latura, coloana, cl, j, r1, r2, max;
| ^~
main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf( fin, "%d%d ", &n, &m );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~