Problem | 3nplus1 |
---|---|
User | thelusidian |
Submission Time | 2024-02-07 17:19:17 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:8:12: error: expected primary-expression before ‘=’ token
8 | while (c!==1){
| ^
3nplus1.cpp:13:8: error: unable to find numeric literal operator ‘operator""c’
13 | c = 3c+1;
| ^~
3nplus1.cpp:15:26: error: expected ‘;’ before ‘}’ token
15 | s += " " + to_string(c)
| ^
| ;
16 | }
| ~