0_0_37740415_16236.cpp: In function 'void work(std::vector<std::pair<int, int> >&)':
0_0_37740415_16236.cpp:79:10: error: expected unqualified-id before '[' token
auto [l, r] = tmp[0];
^
0_0_37740415_16236.cpp:81:13: error: 'r' was not declared in this scope
if (r + 1 < tmp[i].first){
^
0_0_37740415_16236.cpp:82:31: error: 'l' was not declared in this scope
node.emplace_back(l, 1);
^
0_0_37740415_16236.cpp:88:9: error: 'r' was not declared in this scope
r = max(r, tmp[i].second);
^
0_0_37740415_16236.cpp:90:23: error: 'l' was not declared in this scope
node.emplace_back(l, 1);
^
0_0_37740415_16236.cpp:91:23: error: 'r' was not declared in this scope
node.emplace_back(r, -1);
^
|