0_0_37561691_8126.cpp: In function 'std::pair<int, int> split(int, int, int)':
0_0_37561691_8126.cpp:61:14: error: expected unqualified-id before '[' token
auto [l, r] = split(ch[p][0], i, add);
^
0_0_37561691_8126.cpp:62:20: error: 'r' was not declared in this scope
ch[p][0] = r;
^
0_0_37561691_8126.cpp:64:17: error: 'l' was not declared in this scope
return {l, p};
^
0_0_37561691_8126.cpp:64:21: error: could not convert '{<expression error>, p}' from '<brace-enclosed initializer list>' to 'std::pair<int, int>'
return {l, p};
^
0_0_37561691_8126.cpp:66:14: error: expected unqualified-id before '[' token
auto [l, r] = split(ch[p][1], i, pos + 1);
^
0_0_37561691_8126.cpp:67:20: error: 'l' was not declared in this scope
ch[p][1] = l;
^
0_0_37561691_8126.cpp:69:20: error: 'r' was not declared in this scope
return {p, r};
^
0_0_37561691_8126.cpp:69:21: error: could not convert '{p, <expression error>}' from '<brace-enclosed initializer list>' to 'std::pair<int, int>'
return {p, r};
^
|