Greitkeliai

Taškai: 0

Compile: FAIL

greitkeliai.cpp: In function ‘void solve()’: greitkeliai.cpp:84:67: error: converting to ‘std::tuple<int, int, int>’ from initializer list would use explicit constructor ‘constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {int, int&, int&}; <template-parameter-2-2> = void; _Elements = {int, int, int}]’ tuple<int, int, int> T1 = {-(c - cap_cost[f(a)]), a, b}; /// {-cost, id_of_comp_node, other_id} ^ greitkeliai.cpp:85:67: error: converting to ‘std::tuple<int, int, int>’ from initializer list would use explicit constructor ‘constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {int, int&, int&}; <template-parameter-2-2> = void; _Elements = {int, int, int}]’ tuple<int, int, int> T2 = {-(c - cap_cost[f(b)]), b, a}; ^

nr.resulttimemessage