Problem sufferingprogrammer
User Samyeobeo
Submission Time 2024-11-01 19:22:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sufferingprogrammer.cpp: In function ‘int main()’:
sufferingprogrammer.cpp:20:2: error: ‘i’ was not declared in this scope
20 | {i++)
| ^
sufferingprogrammer.cpp:35:23: error: ‘n’ was not declared in this scope
35 | for(int i = 1; i <= n; i++)
| ^
sufferingprogrammer.cpp: At global scope:
sufferingprogrammer.cpp:40:1: error: expected declaration before ‘}’ token
40 | }
| ^