Problem rmexq
User Karax
Submission Time 2026-11-13 11:38:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rmexq.cpp: In function ‘long long int query_left(long long int, long long int, long long int, long long int)’:
rmexq.cpp:37:33: error: ‘INF’ was not declared in this scope
37 | if (tree[node] >= l) return INF;
| ^~~
rmexq.cpp: In function ‘long long int query_right(long long int, long long int, long long int, long long int)’:
rmexq.cpp:48:33: error: ‘LLONG_ZAX’ was not declared in this scope; did you mean ‘LLONG_MAX’?
48 | if (tree[node] <= r) return LLONG_ZAX;
| ^~~~~~~~~
| LLONG_MAX