Borderou de evaluare (job #2205771)
Utilizator | Data | 20 mai 2018 11:18:27 | |
---|---|---|---|
Problema | Graf | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:11:10: error: ‘M’ was not declared in this scope
bool viz[M * 2];
^
user.cpp: In function ‘void bfs(int, int*)’:
user.cpp:25:5: error: ‘viz’ was not declared in this scope
viz[var] = 1;
^~~
user.cpp: In function ‘int main()’:
user.cpp:44:41: error: expected primary-expression before ‘)’ token
fscanf ( fin, "%d%d%d%d", &n, &m, & )
^
user.cpp:45:22: error: ‘i’ was not declared in this scope
for ( int i = 1; i <= m; i++ ) {
^
user.cpp:56:9: error: ‘viz’ was not declared in this scope
viz[i] = 0;
^~~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !