Borderou de evaluare (job #2928669)
Utilizator | Data | 23 octombrie 2022 17:09:34 | |
---|---|---|---|
Problema | X si 0 | Status | done |
Runda | Arhiva ICPC | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:9:10: error: 'DIMENISIUNI' was not declared in this scope; did you mean 'DIMENSIUNI'?
9 | char mat[DIMENISIUNI][DIMENSIUNI];
| ^~~~~~~~~~~
| DIMENSIUNI
main.cpp: In function 'int check()':
main.cpp:17:10: error: 'mat' was not declared in this scope
17 | if(mat[l][c] == 'X'){
| ^~~
main.cpp:32:10: error: 'mat' was not declared in this scope
32 | if(mat[l][c] == 'X'){
| ^~~
main.cpp:47:8: error: 'mat' was not declared in this scope
47 | if(mat[l][c] == 'X'){
| ^~~
main.cpp:64:8: error: 'mat' was not declared in this scope
64 | if(mat[l][c] == 'X'){
| ^~~
main.cpp:81:12: error: 'mat' was not declared in this scope
81 | if(mat[l][c] != '.'){
| ^~~
main.cpp: In function 'int simu(int, bool)':
main.cpp:101:14: error: 'mat' was not declared in this scope; did you mean 'max'?
101 | if(mat[l][c] == '.'){
| ^~~
| max
main.cpp:117:14: error: 'mat' was not declared in this scope; did you mean 'max'?
117 | if(mat[l][c] == '.'){
| ^~~
| max
main.cpp: In function 'int citiretabla()':
main.cpp:141:7: error: 'mat' was not declared in this scope
141 | mat[l][c] = getc(stdin);
| ^~~
main.cpp:135:23: warning: unused variable 'nr' [-Wunused-variable]
135 | int l, c, cod, put, nr;
| ^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !