Borderou de evaluare (job #3237809)
Utilizator | Data | 13 iulie 2024 12:24:46 | |
---|---|---|---|
Problema | Alee | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:1: error: expected ',' or ';' before 'const'
5 | const int NMAX=175;
| ^~~~~
main.cpp:6:7: error: 'NMAX' was not declared in this scope
6 | int a[NMAX+5][NMAX+5];
| ^~~~
main.cpp:6:15: error: 'NMAX' was not declared in this scope
6 | int a[NMAX+5][NMAX+5];
| ^~~~
main.cpp: In function 'void lee(int, int, int, int)':
main.cpp:13:5: error: 'a' was not declared in this scope
13 | a[x1][y1]=1;
| ^
main.cpp: In function 'int main()':
main.cpp:35:9: error: 'a' was not declared in this scope
35 | a[x][y]=1;
| ^
main.cpp:40:11: error: 'a' was not declared in this scope
40 | fout<<a[x2][y2];
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !