Problem 3nplus1
User ShreyasBhat
Submission Time 2026-01-20 09:25:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:11:17: error: ‘n’ was not declared in this scope
11 | for (int i=0;i<n;i++2){
| ^
3nplus1.cpp:11:22: error: expected ‘)’ before numeric constant
11 | for (int i=0;i<n;i++2){
| ~ ^
| )
3nplus1.cpp:11:23: error: expected ‘;’ before ‘)’ token
11 | for (int i=0;i<n;i++2){
| ^
| ;