Problem 3nplus1
User nivay210
Submission Time 2023-11-09 11:47:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:4:12: error: expected primary-expression before ‘:’ token
4 | ios_base: :sync_with_stdio(false): cin.tie(0); cout.tie(0);
| ^
3nplus1.cpp:9:10: error: expected ‘)’ before ‘!’ token
9 | while (n ! = 1){
| ~ ^~
| )
3nplus1.cpp:9:13: error: expected primary-expression before ‘=’ token
9 | while (n ! = 1){
| ^
3nplus1.cpp:19:2: error: expected ‘}’ at end of input
19 | }
| ^
3nplus1.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^