Borderou de evaluare (job #2964478)
Utilizator | Data | 13 ianuarie 2023 06:05:43 | |
---|---|---|---|
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 bf(int, int)':
main.cpp:36:5: error: 'queue' was not declared in this scope
36 | queue<int> coada;
| ^~~~~
main.cpp:5:1: note: 'std::queue' is defined in header '<queue>'; did you forget to '#include <queue>'?
4 | #include <cstring>
+++ |+#include <queue>
5 | /*
main.cpp:36:11: error: expected primary-expression before 'int'
36 | queue<int> coada;
| ^~~
main.cpp:38:10: error: 's' was not declared in this scope
38 | tata[s] = -1;
| ^
main.cpp:40:5: error: 'coada' was not declared in this scope
40 | coada.push(s);
| ^~~~~
main.cpp: In function 'int main()':
main.cpp:79:14: error: 'cap_max' was not declared in this scope
79 | if(c>cap_max)
| ^~~~~~~
main.cpp:84:5: error: 'sursa' was not declared in this scope
84 | sursa = 1;
| ^~~~~
main.cpp:85:5: error: 'destinatia' was not declared in this scope
85 | destinatia = N;
| ^~~~~~~~~~
main.cpp:90:18: error: 'cap_max' was not declared in this scope
90 | int ip = cap_max;
| ^~~~~~~
main.cpp:93:21: error: 'destinatie' was not declared in this scope
93 | for (int i= destinatie; i != sursa; i = tata[i])
| ^~~~~~~~~~
main.cpp:96:21: error: 'destinatie' was not declared in this scope
96 | for (int i= destinatie; i != sursa; i = tata[i])
| ^~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !