0_0_37708404_22913.cpp: In function 'void solve()':
0_0_37708404_22913.cpp:46:15: error: expected unqualified-id before '[' token
auto& [x, y] = q[i];
^
0_0_37708404_22913.cpp:46:15: error: expected initializer before '[' token
0_0_37708404_22913.cpp:47:16: error: 'x' was not declared in this scope
cin >> x >> y;
^
0_0_37708404_22913.cpp:47:21: error: 'y' was not declared in this scope
cin >> x >> y;
^
0_0_37708404_22913.cpp:76:67: error: no match for call to '(std::function<bool(node&)>) (node)'
rep(j, 2, 4) { flag |= ask(jie(q[1], q[tag], i, j)); }
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:70:0,
from 0_0_37708404_22913.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/functional:2142:11: note: candidate is:
class function<_Res(_ArgTypes...)>
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/functional:2434:5: note: _Res std::function<_Res(_ArgTypes ...)>::operator()(_ArgTypes ...) const [with _Res = bool; _ArgTypes = {node&}]
function<_Res(_ArgTypes...)>::
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/functional:2434:5: note: no known conversion for argument 1 from 'node' to 'node&'
|