Problem veryeasymath
User MegaG
Submission Time 2025-10-06 15:06:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

veryeasymath.cpp: In function ‘int main()’:
veryeasymath.cpp:25:16: error: expected ‘;’ before ‘}’ token
25 | cin >> arr[i]
| ^
| ;
26 | }
| ~
veryeasymath.cpp:30:6: error: ‘i’ was not declared in this scope
30 | for(i = 0; i < n; i++){
| ^
veryeasymath.cpp:34:27: error: expected ‘)’ before ‘;’ token
34 | for(int i = 0; i < n; i++;){
| ~ ^
| )
veryeasymath.cpp:34:28: error: expected primary-expression before ‘)’ token
34 | for(int i = 0; i < n; i++;){
| ^