Problem lightningrod
User yc
Submission Time 2025-06-01 06:54:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lightningrod.cpp: In function ‘int main()’:
lightningrod.cpp:24:10: error: expected ‘;’ before ‘}’ token
24 | else it++}
| ^
| ;
lightningrod.cpp: At global scope:
lightningrod.cpp:27:1: error: ‘cout’ does not name a type
27 | cout<<x;
| ^~~~
lightningrod.cpp:28:1: error: expected unqualified-id before ‘return’
28 | return 0;
| ^~~~~~
lightningrod.cpp:29:1: error: expected declaration before ‘}’ token
29 | }
| ^