Problem 3nplus1
User aaaaaaaa
Submission Time 2025-10-13 10:18:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function β€˜int main()’:
3nplus1.cpp:7:12: error: expected primary-expression before β€˜=’ token
7 | while (n!==1){
| ^
3nplus1.cpp:8:11: error: lvalue required as left operand of assignment
8 | if (n%2=1){
| ^