Problem wrongreverse
User ye
Submission Time 2025-06-21 13:19:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

wrongreverse.cpp: In function ‘int main()’:
wrongreverse.cpp:18:2: error: expected ‘}’ before ‘else’
18 | else{
| ^~~~
wrongreverse.cpp:15:11: note: to match this ‘{’
15 | if (a==0){
| ^
wrongreverse.cpp:30:1: error: expected ‘}’ at end of input
30 | }
| ^
wrongreverse.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^