Problem | 3nplus1 |
---|---|
User | Um |
Submission Time | 2023-04-28 18:57:02 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:6:8: error: expected primary-expression before ‘int’
6 | if (n==int){
| ^~~
3nplus1.cpp:6:8: error: expected ‘)’ before ‘int’
6 | if (n==int){
| ~ ^~~
| )
3nplus1.cpp:11:8: error: expected ‘;’ before ‘cout’
11 | cin>>n
| ^
| ;
12 | cout<<n+n+n+1;
| ~~~~