0_0_38206673_14074.cpp: In function 'int solve()':
0_0_38206673_14074.cpp:216:34: error: converting to 'std::map<std::tuple<long long unsigned int, int, int>, std::tuple<int, int, int> >::key_type {aka std::tuple<long long unsigned int, int, int>}' from initializer list would use explicit constructor 'constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {long long unsigned int&, int&, int&}; <template-parameter-2-2> = void; _Elements = {long long unsigned int, int, int}]'
mc[{flag[getid(sx, sy)], sx, sy}] = { 0,ans1,ans2 };
^
0_0_38206673_14074.cpp:216:36: 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}]'
mc[{flag[getid(sx, sy)], sx, sy}] = { 0,ans1,ans2 };
^
0_0_38206673_14074.cpp:224:38: error: converting to 'std::map<std::tuple<long long unsigned int, int, int>, std::tuple<int, int, int> >::key_type {aka std::tuple<long long unsigned int, int, int>}' from initializer list would use explicit constructor 'constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {long long int&, int&, int&}; <template-parameter-2-2> = void; _Elements = {long long unsigned int, int, int}]'
tie(d, rest1, rest2) = mc[{o, x, y}];
^
0_0_38206673_14074.cpp:234:29: error: converting to 'const key_type {aka const std::tuple<long long unsigned int, int, int>}' from initializer list would use explicit constructor 'constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {long long unsigned int&, int&, int&}; <template-parameter-2-2> = void; _Elements = {long long unsigned int, int, int}]'
if (mc.count({ o1,tx,ty })) continue;
^
0_0_38206673_14074.cpp:241:19: error: converting to 'std::map<std::tuple<long long unsigned int, int, int>, std::tuple<int, int, int> >::key_type {aka std::tuple<long long unsigned int, int, int>}' from initializer list would use explicit constructor 'constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {long long unsigned int&, int&, int&}; <template-parameter-2-2> = void; _Elements = {long long unsigned int, int, int}]'
mc[{o1, tx, ty}] = { d + 1,ret1,ret2 };
^
0_0_38206673_14074.cpp:241:21: 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}]'
mc[{o1, tx, ty}] = { d + 1,ret1,ret2 };
^
|