Borderou de evaluare (job #3247468)
Utilizator | Data | 7 octombrie 2024 21:01:30 | |
---|---|---|---|
Problema | Colaj | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:13:18: error: expected initializer before numeric constant
13 | int mat[2*NMAX+1]2*[NMAX+1];
| ^
main.cpp: In function 'void Fill(int, int)':
main.cpp:26:5: error: 'mat' was not declared in this scope
26 | mat[x][y] = -1;
| ^~~
main.cpp: In function 'int main()':
main.cpp:64:17: error: 'mat' was not declared in this scope
64 | mat[i][j]=1;
| ^~~
main.cpp:70:20: error: 'mat' was not declared in this scope
70 | if(mat[i][j] == 0)
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !