| Problem | quantumcp |
|---|---|
| User | chenyuming |
| Submission Time | 2026-11-06 14:23:07 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
quantumcp.cpp: In function ‘int main()’:
quantumcp.cpp:11:6: error: ‘i’ was not declared in this scope
11 | for(i = 0; i < q; i++){
| ^
quantumcp.cpp:12:11: error: expected unqualified-id before ‘int’
12 | char g, int x;
| ^~~
quantumcp.cpp:13:15: error: ‘x’ was not declared in this scope
13 | cin >> g >> x;
| ^
quantumcp.cpp:15:9: error: ‘H’ was not declared in this scope
15 | case H:
| ^
quantumcp.cpp:33:9: error: ‘X’ was not declared in this scope
33 | case X:
| ^
quantumcp.cpp:33:9: error: jump to case label
quantumcp.cpp:16:9: note: crosses initialization of ‘char z’
16 | char z = s.at(x-1);
| ^
quantumcp.cpp:44:9: error: ‘Z’ was not declared in this scope
44 | case Z:
| ^
quantumcp.cpp:44:9: error: jump to case label
quantumcp.cpp:34:9: note: crosses i