Borderou de evaluare (job #3326440)

Utilizator stanciuvalentinStanciu-Tivlea Valentin Gabriel stanciuvalentin Data 28 noiembrie 2025 22:53:30
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: In function 'bool pairup(int)': main.cpp:9:8: error: 'u' was not declared in this scope 9 | if(u[x]) | ^ main.cpp:11:5: error: 'u' was not declared in this scope 11 | u[x] = 1; | ^ main.cpp:12:16: error: 'edges' was not declared in this scope 12 | for(auto y:edges[x]) | ^~~~~ main.cpp:13:12: error: 'r' was not declared in this scope 13 | if(r[y] == 0) | ^ main.cpp:15:13: error: 'l' was not declared in this scope 15 | l[x] = y; | ^ main.cpp:19:16: error: 'edges' was not declared in this scope 19 | for(auto y:edges[x]) | ^~~~~ main.cpp:20:19: error: 'r' was not declared in this scope 20 | if(pairup(r[y])) | ^ main.cpp:22:13: error: 'l' was not declared in this scope 22 | l[x] = y; | ^ main.cpp: In function 'int main()': main.cpp:31:8: error: 'n' was not declared in this scope; did you mean 'yn'? 31 | f>>n>>m>>E; | ^ | yn main.cpp:31:11: error: 'm' was not declared in this scope; did you mean 'tm'? 31 | f>>n>>m>>E; | ^ | tm main.cpp:31:14: error: 'E' was not declared in this scope 31 | f>>n>>m>>E; | ^ main.cpp:34:12: error: 'x' was not declared in this scope 34 | f>>x>>y; | ^ main.cpp:34:15: error: 'y' was not declared in this scope 34 | f>>x>>y; | ^ main.cpp:35:9: error: 'edges' was not declared in this scope 35 | edges[x].push_back(y); | ^~~~~ main.cpp:41:16: error: 'u' was not declared in this scope 41 | memset(u, 0, sizeof(u)); | ^ main.cpp:43:16: error: 'l' was not declared in this scope Non zero exit status: 1

Ceva nu functioneaza?