Borderou de evaluare (job #3337315)

Utilizator DavidAA007Apostol David DavidAA007 Data 27 ianuarie 2026 10:35:38
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:10:10: error: 'DDIM' was not declared in this scope; did you mean 'DIM'? 10 | muchie t[DDIM + 1]; | ^~~~ | DIM main.cpp:12:19: error: 'DDIM' was not declared in this scope; did you mean 'DIM'? 12 | vector <muchie> v[DDIM + 1]; | ^~~~ | DIM main.cpp:13:14: error: 'DDIM' was not declared in this scope; did you mean 'DIM'? 13 | int n, m, dp[DDIM + 1]; | ^~~~ | DIM main.cpp: In function 'bool bfs()': main.cpp:19:17: error: 't' was not declared in this scope 19 | t[i] = {0, 0}, dp[i] = 0; | ^ main.cpp:19:32: error: 'dp' was not declared in this scope; did you mean 'dup'? 19 | t[i] = {0, 0}, dp[i] = 0; | ^~ | dup main.cpp:21:9: error: 'dp' was not declared in this scope; did you mean 'dup'? 21 | dp[0] = 1e9; | ^~ | dup main.cpp:26:43: error: 'v' was not declared in this scope 26 | for (int i = 0; i < (int) v[nod].size (); i++) | ^ main.cpp:32:33: error: 't' was not declared in this scope 32 | t[vecin] = {nod, pos}; | ^ main.cpp: In function 'void add_flux(int)': main.cpp:45:19: error: 't' was not declared in this scope; did you mean 'tm'? 45 | c[t[nod].pos] -= flux; | ^ | tm main.cpp: In function 'int main()': main.cpp:58:17: error: 'v' was not declared in this scope 58 | v[x].push_back ({n+y, contor}); | ^ main.cpp:66:9: error: 'v' was not declared in this scope 66 | v[0].push_back({i,contor}); | ^ main.cpp:74:9: error: 'v' was not declared in this scope 74 | v[n+m+1].push_back({n+i,contor}); | ^ main.cpp:83:28: error: 'dp' was not declared in this scope; did you mean 'p'? 83 | int flux = dp[n+m+1]; | ^~ | p main.cpp:90:20: error: 'v' was not declared in this scope Non zero exit status: 1

Ceva nu functioneaza?