Borderou de evaluare (job #2906466)

Utilizator sandrapioanaSandra Pirvanescu sandrapioana Data 26 mai 2022 09:08:07
Problema Flux maxim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:42:25: error: 'V' was not declared in this scope 42 | bool bfs(int rGraph[V][V], int s, int t, int parent[]) | ^ main.cpp:42:28: error: 'V' was not declared in this scope 42 | bool bfs(int rGraph[V][V], int s, int t, int parent[]) | ^ main.cpp:42:30: error: expected ')' before ',' token 42 | bool bfs(int rGraph[V][V], int s, int t, int parent[]) | ~ ^ | ) main.cpp:42:32: error: expected unqualified-id before 'int' 42 | bool bfs(int rGraph[V][V], int s, int t, int parent[]) | ^~~ main.cpp: In member function 'int Task::get_result()': main.cpp:92:13: error: 'maxFlow' was not declared in this scope; did you mean 'max_flow'? 92 | maxFlow += flow; | ^~~~~~~ | max_flow main.cpp:95:32: error: 'parList' was not declared in this scope 95 | int prevNode = parList[currNode]; | ^~~~~~~ main.cpp:96:17: error: 'flowPassed' was not declared in this scope 96 | flowPassed[prevNode][currNode] += flow; | ^~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?