0_0_34882613_30052.cpp: In function 'std::pair<long long int, std::vector<int> > dmst(int, int, std::vector<Edge>&)':
0_0_34882613_30052.cpp:80:53: error: converting to 'std::deque<std::tuple<int, int, std::vector<Edge, std::allocator<Edge> > > >::value_type {aka std::tuple<int, int, std::vector<Edge, std::allocator<Edge> > >}' from initializer list would use explicit constructor 'constexpr std::tuple< <template-parameter-1-1> >::tuple(const _Elements& ...) [with _Elements = {int, int, std::vector<Edge, std::allocator<Edge> >}]'
cycs.push_front({u, time, {&Q[qi], &Q[end]}});
^
0_0_34882613_30052.cpp:86:14: error: expected unqualified-id before '[' token
for (auto& [u,t,comp] : cycs) { // restore sol (optional)
^
0_0_34882613_30052.cpp:86:14: error: expected ';' before '[' token
0_0_34882613_30052.cpp:86:15: error: 'u' was not declared in this scope
for (auto& [u,t,comp] : cycs) { // restore sol (optional)
^
0_0_34882613_30052.cpp:86:17: error: 't' was not declared in this scope
for (auto& [u,t,comp] : cycs) { // restore sol (optional)
^
0_0_34882613_30052.cpp: In lambda function:
0_0_34882613_30052.cpp:86:25: error: expected '{' before ':' token
for (auto& [u,t,comp] : cycs) { // restore sol (optional)
^
0_0_34882613_30052.cpp: In function 'std::pair<long long int, std::vector<int> > dmst(int, int, std::vector<Edge>&)':
0_0_34882613_30052.cpp:86:25: error: could not convert '<lambda closure object>dmst(int, int, std::vector<Edge>&)::<lambda()>{std::vector<Edge>((*(const std::vector<Edge>*)(& comp)))}' from 'dmst(int, int, std::vector<Edge>&)::<lambda()>' to 'bool'
0_0_34882613_30052.cpp:86:25: error: expected ';' before ':' token
0_0_34882613_30052.cpp:86:25: error: expected primary-expression before ':' token
0_0_34882613_30052.cpp:86:25: error: expected ')' before ':' token
0_0_34882613_30052.cpp:86:25: error: expected primary-expression before ':' token
0_0_34882613_30052.cpp: In lambda function:
0_0_34882613_30052.cpp:137:10: error: expected unqualified-id before '[' token
auto [res,par] = dmst(2*n,0,G);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cassert:43:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:33,
from 0_0_34882613_30052.cpp:1:
0_0_34882613_30052.cpp:138:15: error: 'par' was not declared in this scope
assert(sz(par) != 0);
^
0_0_34882613_30052.cpp:138:12: note: in expansion of macro 'sz'
assert(sz(par) != 0);
^
0_0_34882613_30052.cpp:140:22: error: 'res' was not declared in this scope
return make_pair(res, roots);
^
0_0_34882613_30052.cpp: In lambda function:
0_0_34882613_30052.cpp:143:40: error: invalid use of 'void'
auto check = [&](ll q) { return go(q).second >= m; };
^
0_0_34882613_30052.cpp: In function 'void solve(int)':
0_0_34882613_30052.cpp:147:8: error: expected unqualified-id before '[' token
auto [res, roots] = go(b);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cassert:43:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:33,
from 0_0_34882613_30052.cpp:1:
0_0_34882613_30052.cpp:148:10: error: 'roots' was not declared in this scope
assert(roots >= m);
^
0_0_34882613_30052.cpp:149:3: error: 'res' was not declared in this scope
res -= roots * b;
^
0_0_34882613_30052.cpp: In instantiation of 'I bs(I, I, auto:1&&) [with I = long long int; auto:1 = solve(int)::<lambda(ll)>&]':
0_0_34882613_30052.cpp:145:30: required from here
0_0_34882613_30052.cpp:102:9: error: could not convert '(& f)->solve(int)::<lambda(ll)>(q)' from 'void' to 'bool'
(f(q) ? b : a) = q;
^
|