Problem | colour |
---|---|
User | personjs |
Submission Time | 2025-01-07 10:21:55 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
colour.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
colour.cpp:8:1: error: ‘set’ does not name a type
8 | set<pair<int, int>> a;
| ^~~
colour.cpp: In function ‘int main()’:
colour.cpp:11:3: error: ‘scanf’ was not declared in this scope
11 | scanf("%d", &q);
| ^~~~~
colour.cpp:14:10: error: ‘a’ was not declared in this scope
14 | if (!a.empty()) {
| ^
colour.cpp:15:66: error: expected ‘,’ or ‘;’ before ‘)’ token
15 | auto it = a.lower_bound({l, l}), it1 = a.lower_bound({r, r});
| ^
colour.cpp:17:11: error: ‘it1’ was not declared in this scope
17 | if (it1->sc != r && it1->fi != r) it1--;
| ^~~
colour.cpp:21:13: error: ‘min’ was not declared in this scope; did you mean ‘main’?
21 | l = min(l, itl),