| Problem | 3nplus1 |
|---|---|
| User | ghx312 |
| Submission Time | 2026-01-27 12:10:00 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:12:3: error: ‘else’ without a previous ‘if’
12 | else{
| ^~~~
3nplus1.cpp:13:17: error: expected ‘;’ before ‘cout’
13 | x = 3 * x + 1
| ^
| ;
14 | cout << x;
| ~~~~