Borderou de evaluare (job #608563)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Romb (clasa a 6-a) | Compilator | cpp-32 |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 4 oct. 2021 21:34:04 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:7: error: 'Nmax' does not name a type
4 | const Nmax=1001;
| ^~~~
main.cpp:5:15: error: 'Nmax' was not declared in this scope
5 | short int mat[Nmax][Nmax];
| ^~~~
main.cpp:5:21: error: 'Nmax' was not declared in this scope
5 | short int 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]=(int)a;
| ^~~
main.cpp:42:25: error: 'mat' was not declared in this scope
42 | cout<<(char)mat[i][j];
| ^~~