Problem leftout
User AndyChen
Submission Time 2026-11-22 17:53:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

leftout.cpp: In function ‘int main()’:
leftout.cpp:8:5: error: ‘itn’ was not declared in this scope; did you mean ‘int’?
8 | itn n, q;
| ^~~
| int
leftout.cpp:9:12: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
9 | cin >> n >> q;
| ^
| yn
leftout.cpp:9:17: error: ‘q’ was not declared in this scope
9 | cin >> n >> q;
| ^
leftout.cpp:22:33: error: expected ‘;’ before ‘)’ token
22 | for (int i = 0; i < a.size())
| ^
| ;