| Problem | 3nplus1 |
|---|---|
| User | uuhhhhhIDK |
| Submission Time | 2026-06-22 16:54:55 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:8:13: error: lvalue required as left operand of assignment
8 | if (n%2 = 0){
| ^
3nplus1.cpp:13:12: error: expected ‘;’ before ‘:’ token
13 | cout << n:}
| ^
| ;
3nplus1.cpp:13:13: error: expected ‘}’ at end of input
13 | cout << n:}
| ^
3nplus1.cpp:7:18: note: to match this ‘{’
7 | while (n<=10000){
| ^
3nplus1.cpp:13:13: error: expected ‘}’ at end of input
13 | cout << n:}
| ^
3nplus1.cpp:4:15: note: to match this ‘{’
4 | signed main() {
| ^