Borderou de evaluare (job #3328610)

Utilizator r0scatRosca Teodora Maia r0scat Data 9 decembrie 2025 13:24:41
Problema Flux maxim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:12:1: error: 'ifstream' does not name a type 12 | ifstream fin("maxflow.in"); | ^~~~~~~~ main.cpp:13:1: error: 'ofstream' does not name a type 13 | ofstream fout("maxflow.out"); | ^~~~~~~~ main.cpp: In function 'int bfs(int, int)': main.cpp:58:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 58 | for (int i = 0; i < path.size(); i++) { | ~~^~~~~~~~~~~~~ main.cpp:63:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 63 | for (int i = 0; i < path.size(); i++) { | ~~^~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:76:9: error: 'fin' was not declared in this scope 76 | fin >> n >> m; | ^~~ main.cpp:92:9: error: 'fout' was not declared in this scope 92 | fout << maxflow; | ^~~~ Non zero exit status: 1

Ceva nu functioneaza?