Borderou de evaluare (job #2969467)
Utilizator | Data | 23 ianuarie 2023 10:56:04 | |
---|---|---|---|
Problema | Flux maxim | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:48: error: expected initializer before '.' token
8 | int n, m, c[1024][1024], f[1024][1024], t[1024]. v[1024];
| ^
main.cpp: In function 'int bfs()':
main.cpp:12:33: error: 'v' was not declared in this scope
12 | for(int i = 1; i <= n; i++) v[i] = 0;
| ^
main.cpp:16:5: error: 'v' was not declared in this scope
16 | v[1] = 1;
| ^
main.cpp:18:19: error: 'class std::queue<int>' has no member named 'top'; did you mean 'pop'?
18 | int x = q.top();
| ^~~
| pop
main.cpp:24:17: error: 't' was not declared in this scope
24 | t[next] = x;
| ^
main.cpp: In function 'int main()':
main.cpp:47:17: error: 'v' was not declared in this scope
47 | if(!v[next] || c[next][n] <= f[next][n]) continue;
| ^
main.cpp:48:13: error: 't' was not declared in this scope
48 | t[n] = next;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !