| Problem | poklon |
|---|---|
| User | FIips |
| Submission Time | 2025-02-12 08:00:00 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
poklon.cpp: In function ‘int32_t main()’:
poklon.cpp:33:7: error: expected unqualified-id before ‘[’ token
33 | qry.[i].idx = i;
| ^
poklon.cpp:41:11: error: invalid types ‘long long int[int]’ for array subscript
41 | m[arr[q[0].l]]++;
| ^
poklon.cpp:44:14: error: invalid types ‘long long int[long long int]’ for array subscript
44 | int L = q[i].l, R = q[i].r;
| ^
poklon.cpp:46:19: error: ‘R’ was not declared in this scope
46 | while(m_right < R) {
| ^
poklon.cpp:50:32: error: lvalue required as increment operand
50 | if(m[arr[m_right]] == 2) ans++;
| ^~
poklon.cpp:51:37: error: lvalue required as decrement operand
51 | else if(m[arr[m_right]] == 3) ans--;
| ^~
poklon.cpp:54:19: error: ‘R’ was not declared in this scope
54 | while(m_right &g