Borderou de evaluare (job #3299849)
Utilizator | Data | 11 iunie 2025 01:16:26 | |
---|---|---|---|
Problema | Flux maxim | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'bool drum(int, int)':
main.cpp:13:5: error: 'queue' was not declared in this scope
13 | queue<int> Q;
| ^~~~~
main.cpp:3:1: note: 'std::queue' is defined in header '<queue>'; did you forget to '#include <queue>'?
2 | #include <vector>
+++ |+#include <queue>
3 |
main.cpp:13:11: error: expected primary-expression before 'int'
13 | queue<int> Q;
| ^~~
main.cpp:14:5: error: 'Q' was not declared in this scope
14 | Q.push(s);
| ^
main.cpp: In function 'int main()':
main.cpp:38:9: error: 'fluxp' was not declared in this scope; did you mean 'flux'?
38 | fluxp[a].push_back({b,0});
| ^~~~~
| flux
main.cpp:39:9: error: 'fluxn' was not declared in this scope; did you mean 'flux'?
39 | fluxn[b].push_back({a,0});
| ^~~~~
| flux
main.cpp:45:11: error: 'sum' was not declared in this scope
45 | cout<<sum;
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !