Problem 3nplus1
User prologue0605
Submission Time 2025-06-20 19:49:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:8:10: error: lvalue required as left operand of assignment
8 | if(a%2=0){
| ^
3nplus1.cpp:11:6: error: unable to find numeric literal operator ‘operator""a’
11 | b=3a+1;
| ^~
3nplus1.cpp:13:1: error: expected ‘}’ at end of input
13 | }
| ^
3nplus1.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^