Problem vectorindexing
User wey7777777
Submission Time 2026-06-24 09:55:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

vectorindexing.cpp: In function ‘int main()’:
vectorindexing.cpp:6:18: error: expected ‘;’ before ‘int’
6 | cin.tie(nullptr)
| ^
| ;
7 |
8 | int N, Q;
| ~~~
vectorindexing.cpp:9:8: error: ‘N’ was not declared in this scope
9 | cin>> N >> Q;
| ^
vectorindexing.cpp:9:13: error: ‘Q’ was not declared in this scope
9 | cin>> N >> Q;
| ^