Problem 3nplus1
User yihai
Submission Time 2026-01-21 19:13:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:7:2: error: expected initializer before ‘cin’
7 | cin >>n
| ^~~
3nplus1.cpp:19:8: error: ‘n’ was not declared in this scope
19 | cout<<n
| ^