0_0_37731774_1405.cpp: In function 'void merge(std::vector<std::pair<int, int> >&)':
0_0_37731774_1405.cpp:47:14: error: expected unqualified-id before '[' token
for(auto [l,r]:seg){
^
0_0_37731774_1405.cpp:47:14: error: expected ';' before '[' token
0_0_37731774_1405.cpp:47:15: error: 'l' was not declared in this scope
for(auto [l,r]:seg){
^
0_0_37731774_1405.cpp:47:17: error: 'r' was not declared in this scope
for(auto [l,r]:seg){
^
0_0_37731774_1405.cpp: In lambda function:
0_0_37731774_1405.cpp:47:19: error: expected '{' before ':' token
for(auto [l,r]:seg){
^
0_0_37731774_1405.cpp: In function 'void merge(std::vector<std::pair<int, int> >&)':
0_0_37731774_1405.cpp:47:19: error: expected ';' before ':' token
0_0_37731774_1405.cpp:47:19: error: expected primary-expression before ':' token
0_0_37731774_1405.cpp:47:19: error: expected ')' before ':' token
0_0_37731774_1405.cpp:47:19: error: expected primary-expression before ':' token
0_0_37731774_1405.cpp: In function 'void solve()':
0_0_37731774_1405.cpp:103:18: error: expected unqualified-id before '[' token
for(auto [l,r]:A){
^
0_0_37731774_1405.cpp:103:18: error: expected ';' before '[' token
0_0_37731774_1405.cpp:103:19: error: 'l' was not declared in this scope
for(auto [l,r]:A){
^
0_0_37731774_1405.cpp:103:21: error: 'r' was not declared in this scope
for(auto [l,r]:A){
^
0_0_37731774_1405.cpp: In lambda function:
0_0_37731774_1405.cpp:103:23: error: expected '{' before ':' token
for(auto [l,r]:A){
^
0_0_37731774_1405.cpp: In function 'void solve()':
0_0_37731774_1405.cpp:103:23: error: expected ';' before ':' token
0_0_37731774_1405.cpp:103:23: error: expected primary-expression before ':' token
0_0_37731774_1405.cpp:103:23: error: expected ')' before ':' token
0_0_37731774_1405.cpp:103:23: error: expected primary-expression before ':' token
|