0_0_37751143_10668.cpp: In function 'void solve()':
0_0_37751143_10668.cpp:22:14: 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}]'
a[i] = {w, x, y};
^
0_0_37751143_10668.cpp:50:14: error: expected unqualified-id before '[' token
auto [w1, x1, y1] = a[res];
^
0_0_37751143_10668.cpp:51:110: error: 'w1' was not declared in this scope
cout << min(max({x + y + mx[res][4], x - y + mx[res][3], -x + y + mx[res][2], -x - y + mx[res][1]}), w1) << endl;
^
|