Problem quantumcp
User ZhangChi
Submission Time 2026-11-06 13:49:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

quantumcp.cpp: In function ‘int main()’:
quantumcp.cpp:11:2: error: expected initializer before ‘char’
11 | char g;
| ^~~~
quantumcp.cpp:12:22: error: ‘x’ was not declared in this scope
12 | cin >> n >> q >> x;
| ^
quantumcp.cpp:14:10: error: ‘g’ was not declared in this scope
14 | cin >> g;
| ^