Problem quantumcp
User dinginandy
Submission Time 2026-11-06 13:04:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

quantumcp.cpp: In function ‘int main()’:
quantumcp.cpp:47:29: error: expected ‘;’ before ‘}’ token
47 | if (G=='H') {h(temp)};
| ^
| ;
quantumcp.cpp:48:9: error: ‘else’ without a previous ‘if’
48 | else if (G=='X') {x(temp)};
| ^~~~
quantumcp.cpp:48:34: error: expected ‘;’ before ‘}’ token
48 | else if (G=='X') {x(temp)};
| ^
| ;
quantumcp.cpp:49:9: error: ‘else’ without a previous ‘if’
49 | else if (G=='Z') {z(temp)};
| ^~~~
quantumcp.cpp:49:34: error: expected ‘;’ before ‘}’ token
49 | else if (G=='Z') {z(temp)};
| ^
| ;