Problem 3nplus1
User Lerongt
Submission Time 2026-06-22 16:44:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:6:6: error: found ‘:’ in nested-name-specifier, expected ‘::’
6 | ll n:
| ^
| ::
3nplus1.cpp:6:5: error: ‘n’ has not been declared
6 | ll n:
| ^
3nplus1.cpp:7:6: error: qualified-id in declaration before ‘>>’ token
7 | cin >> n;
| ^~
3nplus1.cpp:9:10: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
9 | cout << n << " ";
| ^
| yn