| Problem | ring2 |
|---|---|
| User | gelastropod |
| Submission Time | 2026-02-22 20:18:31 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
ring2.cpp:10:34: error: template argument 1 is invalid
10 | vector<pair<int, pair<int, int>> upds;
| ^~~~
ring2.cpp:10:34: error: template argument 2 is invalid
ring2.cpp: In function ‘void join(long long int, long long int, long long int)’:
ring2.cpp:43:3: error: ‘upds’ was not declared in this scope; did you mean ‘upd’?
43 | upds.push_back({ a, { -1, -1} });
| ^~~~
| upd
ring2.cpp:53:2: error: ‘upds’ was not declared in this scope; did you mean ‘upd’?
53 | upds.push_back({ b, {rnk[a], aux[a]} });
| ^~~~
| upd
ring2.cpp: In function ‘void rb(long long int)’:
ring2.cpp:64:6: error: ‘upds’ was not declared in this scope; did you mean ‘upd’?
64 | if (upds.back().second.first != -1) {
| ^~~~
| upd
ring2.cpp:70:55: error: no matching function for call to ‘std::vector<std::pair<long long int, std::pair<long l