Borderou de evaluare (job #2961148)
Utilizator | Data | 5 ianuarie 2023 22:02:58 | |
---|---|---|---|
Problema | Flux maxim | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:1: error: 'ifstream' does not name a type
5 | ifstream fin("maxflow.in");
| ^~~~~~~~
main.cpp:6:1: error: 'ofstream' does not name a type
6 | ofstream fout("maxflow.out");
| ^~~~~~~~
main.cpp: In function 'int flux_maxim()':
main.cpp:45:30: error: 'INT_MAX' was not declared in this scope
45 | int u, v = t, flux = INT_MAX;
| ^~~~~~~
main.cpp:4:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
3 | #include<queue>
+++ |+#include <climits>
4 |
main.cpp: In function 'int main()':
main.cpp:73:5: error: 'fin' was not declared in this scope
73 | fin>>n>>m;
| ^~~
main.cpp:86:5: error: 'fout' was not declared in this scope
86 | fout<<flux_maxim();
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !