Borderou de evaluare (job #3334259)

Utilizator Serban_Liviu67Serban Liviu Serban_Liviu67 Data 17 ianuarie 2026 09:46:59
Problema Cuplaj maxim in graf bipartit Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:2:1: error: 'ifstream' does not name a type 2 | ifstream fin("cuplaj.in"); | ^~~~~~~~ main.cpp:3:1: error: 'ofstream' does not name a type 3 | ofstream fout("cuplaj.out"); | ^~~~~~~~ main.cpp:6:1: error: 'vector' does not name a type 6 | vector<int> muchii[10005]; | ^~~~~~ main.cpp: In function 'bool pairup(int)': main.cpp:12:19: error: 'muchii' was not declared in this scope 12 | for(int i:muchii[nod]) | ^~~~~~ main.cpp:19:19: error: 'muchii' was not declared in this scope 19 | for(int i:muchii[nod]) | ^~~~~~ main.cpp: In function 'int main()': main.cpp:30:9: error: 'ios_base' has not been declared 30 | ios_base::sync_with_stdio(false); | ^~~~~~~~ main.cpp:31:9: error: 'fin' was not declared in this scope 31 | fin.tie(0); | ^~~ main.cpp:37:17: error: 'muchii' was not declared in this scope 37 | muchii[a].push_back(b); | ^~~~~~ main.cpp:52:9: error: 'fout' was not declared in this scope 52 | fout<<cuplaj<<'\n'; | ^~~~ Non zero exit status: 1

Ceva nu functioneaza?