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

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:4:11: error: expected initializer before ‘<=’ token
4 | int n <= 10000;
| ^~
3nplus1.cpp:5:12: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
5 | cin >> n;
| ^
| yn