Borderou de evaluare (job #3228935)
Utilizator | Data | 12 mai 2024 14:14:51 | |
---|---|---|---|
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 bf()':
main.cpp:18:5: error: 'memset' was not declared in this scope
18 | memset(t,0,sizeof(t));
| ^~~~~~
main.cpp:4:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
3 | #include <cmath>
+++ |+#include <cstring>
4 |
main.cpp: In function 'int main()':
main.cpp:43:5: error: 'fin' was not declared in this scope; did you mean 'min'?
43 | fin>>n>>m;
| ^~~
| min
main.cpp:83:5: error: 'fout' was not declared in this scope
83 | fout<<flux;
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !