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

Compile Error

lightningrod.cpp: In function ‘int main()’:
lightningrod.cpp:19:12: error: continue statement not within a loop
19 | if (a==-1) continue ;
| ^~~~~~~~
lightningrod.cpp: At global scope:
lightningrod.cpp:30:1: error: ‘cout’ does not name a type
30 | cout<<x;
| ^~~~
lightningrod.cpp:31:1: error: expected unqualified-id before ‘return’
31 | return 0;
| ^~~~~~
lightningrod.cpp:32:1: error: expected declaration before ‘}’ token
32 | }
| ^