Borderou de evaluare (job #2493690)

Utilizator davidegoldDavide Gold davidegold Data 16 noiembrie 2019 18:37:54
Problema Flux maxim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In member function 'Graph::flow_type Graph::max_flow(int, int)': main.cpp:79:9: error: 'bitset' was not declared in this scope bitset<NMAX+1> vis; ^~~~~~ main.cpp:79:24: error: 'vis' was not declared in this scope bitset<NMAX+1> vis; ^~~ main.cpp:81:9: error: 'function' was not declared in this scope function <flow_type(int, flow_type)> aug_path = [&](int node, flow_type path_flow) { ^~~~~~~~ main.cpp:81:43: error: expression list treated as compound expression in functional cast [-fpermissive] function <flow_type(int, flow_type)> aug_path = [&](int node, flow_type path_flow) { ^ main.cpp:81:28: error: expected primary-expression before '(' token function <flow_type(int, flow_type)> aug_path = [&](int node, flow_type path_flow) { ^ main.cpp:81:29: error: expected primary-expression before 'int' function <flow_type(int, flow_type)> aug_path = [&](int node, flow_type path_flow) { ^~~ main.cpp:81:43: error: expected primary-expression before ')' token function <flow_type(int, flow_type)> aug_path = [&](int node, flow_type path_flow) { ^ main.cpp:81:46: error: 'aug_path' was not declared in this scope function <flow_type(int, flow_type)> aug_path = [&](int node, flow_type path_flow) { ^~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?