Problem | 3nplus1 |
---|---|
User | susryan |
Submission Time | 2023-05-18 17:05:49 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
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:9:5: error: ‘cout’ was not declared in this scope
9 | cout<<n<<endl;
| ^~~~
3nplus1.cpp:9:14: error: ‘endl’ was not declared in this scope
9 | cout<<n<<endl;
| ^~~~
3nplus1.cpp:12:9: error: unable to find numeric literal operator ‘operator""n’
12 | n = 3n + 1;
| ^~
3nplus1.cpp:13:5: error: ‘cout’ was not declared in this scope
13 | cout<<n<<endl;
| ^~~~
3nplus1.cpp:13:14: error: ‘endl’ was not declared in this scope
13 | cout<<n<<endl;
| ^~~~