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

Compile Error

rmexq.cpp: In function ‘int main()’:
rmexq.cpp:74:23: error: expected ‘;’ before ‘for’
74 | build(1, 0, n - 1)
| ^
| ;
rmexq.cpp:76:9: error: ‘i’ was not declared in this scope
76 | rep(i, 0, q) {
| ^
rmexq.cpp:5:38: note: in definition of macro ‘rep’
5 | #define rep(i, a, b) for (int i = a; i < b; i++)
| ^