Problem 3nplus1
User fypage
Submission Time 2024-07-08 14:27:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:4:7: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
4 | int (n>0||n<=10000)
| ^
| yn
3nplus1.cpp:9:3: error: ‘else’ without a previous ‘if’
9 | else while(n%2==0){
| ^~~~
3nplus1.cpp:13:8: error: expected primary-expression before ‘=’ token
13 | return=0;
| ^