| Problem | platonic21 |
|---|---|
| User | WJR |
| Submission Time | 2025-12-17 10:07:38 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
platonic21.cpp:8:16: error: ‘r’ does not name a type
8 | bool cmp(const r &x, const r &y) {
| ^
platonic21.cpp:8:28: error: ‘r’ does not name a type
8 | bool cmp(const r &x, const r &y) {
| ^
platonic21.cpp: In function ‘bool cmp(const int&, const int&)’:
platonic21.cpp:9:14: error: request for member ‘a’ in ‘x’, which is of non-class type ‘const int’
9 | return x.a < y.a;
| ^
platonic21.cpp:9:20: error: request for member ‘a’ in ‘y’, which is of non-class type ‘const int’
9 | return x.a < y.a;
| ^
platonic21.cpp: At global scope:
platonic21.cpp:11:1: error: ‘random’ does not name a type
11 | random arr[200010];
| ^~~~~~
platonic21.cpp: In function ‘int main()’:
platonic21.cpp:19:16: error: ‘arr’ was not declared in this scope
19 | cin >> arr[i].a >> arr[i].b;
|