Borderou de evaluare (job #3306356)
| Utilizator | Data | 9 august 2025 21:42:24 | |
|---|---|---|---|
| Problema | Bile | 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=250;
| ^~~~~
main.cpp:9:9: error: 'NMAX' was not declared in this scope
9 | int mat[NMAX+5][NMAX+5];
| ^~~~
main.cpp:9:17: error: 'NMAX' was not declared in this scope
9 | int mat[NMAX+5][NMAX+5];
| ^~~~
main.cpp:10:14: error: 'NMAX' was not declared in this scope
10 | bool vizitat[NMAX+5][NMAX+5];
| ^~~~
main.cpp:10:22: error: 'NMAX' was not declared in this scope
10 | bool vizitat[NMAX+5][NMAX+5];
| ^~~~
main.cpp:11:20: error: 'NMAX' was not declared in this scope
11 | vector<int> status(NMAX*NMAX+5), parent(NMAX*NMAX+5);
| ^~~~
main.cpp:11:25: error: 'NMAX' was not declared in this scope
11 | vector<int> status(NMAX*NMAX+5), parent(NMAX*NMAX+5);
| ^~~~
main.cpp:11:41: error: 'NMAX' was not declared in this scope
11 | vector<int> status(NMAX*NMAX+5), parent(NMAX*NMAX+5);
| ^~~~
main.cpp:11:46: error: 'NMAX' was not declared in this scope
11 | vector<int> status(NMAX*NMAX+5), parent(NMAX*NMAX+5);
| ^~~~
main.cpp: In function 'int main()':
main.cpp:44:13: error: 'mat' was not declared in this scope
44 | mat[i][j]=cnt;
| ^~~
main.cpp:56:9: error: 'vizitat' was not declared in this scope
56 | vizitat[x][y]=1;
| ^~~~~~~
main.cpp:61:27: error: 'mat' was not declared in this scope
61 | union_set(mat[nx][ny], mat[x][y]);
| ^~~
main.cpp:64:26: error: 'mat' was not declared in this scope
64 | int cel=find_set(mat[x][y]);
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
