Problem 3nplus1
User susryan
Submission Time 2023-05-18 16:55:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp:1:1: error: ‘import’ does not name a type
1 | import <bits/stdc++.h>
| ^~~~~~
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:5:5: error: ‘cin’ was not declared in this scope
5 | cin>>n;
| ^~~
3nplus1.cpp:6:13: error: expected ‘)’ before ‘not’ token
6 | while (n not 1){
| ~ ^~~~
| )
3nplus1.cpp:6:19: error: expected ‘;’ before ‘)’ token
6 | while (n not 1){
| ^
| ;