Problem 3nplus1
User BoneMeBurner
Submission Time 2024-07-16 22:44:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:5:9: error: expected primary-expression before ‘long’
5 | cin >> long long i;
| ^~~~
3nplus1.cpp:6:9: error: ‘i’ was not declared in this scope
6 | while (i != 1){
| ^
3nplus1.cpp:8:14: error: expected primary-expression before ‘==’ token
8 | if (i % 2) == 1{
| ^~