Borderou de evaluare (job #608590)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Romb (clasa a 6-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 5 oct. 2021 10:20:30 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:10: error: 'Nmax' was not declared in this scope
5 | char mat[Nmax][Nmax];
| ^~~~
main.cpp:5:16: error: 'Nmax' was not declared in this scope
5 | char mat[Nmax][Nmax];
| ^~~~
main.cpp: In function 'int main()':
main.cpp:23:17: error: 'mat' was not declared in this scope
23 | mat[lin-n/2-1][col-n/2-1]=a;
| ^~~
main.cpp:42:19: error: 'mat' was not declared in this scope
42 | cout<<mat[i][j];
| ^~~