Borderou de evaluare (job #3297052)
Utilizator | Data | 20 mai 2025 17:18:09 | |
---|---|---|---|
Problema | Snake | Status | done |
Runda | Arhiva de probleme | Compilator | c-32 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:25:26: error: 'L' undeclared (first use in this function)
25 | for (int i = 1; i <= L - 2; i += 2) {
| ^
main.c:25:26: note: each undeclared identifier is reported only once for each function it appears in
main.c:34:29: error: 'N' undeclared (first use in this function)
34 | if (x2 >= 0 && x2 < N && y2 >= 0 && y2 < M && mat[x2][y2] == 0) {
| ^
main.c:34:50: error: 'M' undeclared (first use in this function)
34 | if (x2 >= 0 && x2 < N && y2 >= 0 && y2 < M && mat[x2][y2] == 0) {
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !