Borderou de evaluare (job #2954834)
Utilizator | Data | 15 decembrie 2022 16:41:43 | |
---|---|---|---|
Problema | Flux maxim | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:84:2: error: stray '#' in program
84 | }#include <iostream>
| ^
main.cpp: In function 'int main()':
main.cpp:67:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
67 | while (bottleneck = bfs(s, t)) { // cat mai sunt path uri care mai accepta flux
| ~~~~~~~~~~~^~~~~~~~~~~
main.cpp: At global scope:
main.cpp:84:3: error: 'include' does not name a type
84 | }#include <iostream>
| ^~~~~~~
main.cpp:92:10: error: redefinition of 'std::ifstream fin'
92 | ifstream fin("maxflow.in");
| ^~~
main.cpp:9:10: note: 'std::ifstream fin' previously declared here
9 | ifstream fin("maxflow.in");
| ^~~
main.cpp:93:10: error: redefinition of 'std::ofstream fout'
93 | ofstream fout("maxflow.out");
| ^~~~
main.cpp:10:10: note: 'std::ofstream fout' previously declared here
10 | ofstream fout("maxflow.out");
| ^~~~
main.cpp:97:5: error: redefinition of 'int n'
97 | int n, m, maxFlow;
| ^
main.cpp:14:5: note: 'int n' previously declared here
14 | int n, m, maxFlow;
| ^
main.cpp:97:8: error: redefinition of 'int m'
97 | int n, m, maxFlow;
| ^
main.cpp:14:8: note: 'int m' previously declared here
14 | int n, m, maxFlow;
| ^
main.cpp:97:11: error: redefinition of 'int maxFlow'
97 | int n, m, maxFlow;
| ^~~~~~~
main.cpp:14:11: note: 'int maxFlow' previously declared here
14 | int n, m, maxFlow;
| ^~~~~~~
main.cpp:98:5: error: redefinition of 'int s'
98 | int s, t;
| ^
main.cpp:15:5: note: 'int s' previously declared here
15 | int s, t;
| ^
main.cpp:98:8: error: redefinition of 'int t'
98 | int s, t;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !