Problem summationfrenzy
User Karax
Submission Time 2025-11-17 10:33:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

summationfrenzy.cpp: In function ‘int main()’:
summationfrenzy.cpp:17:25: error: expected ‘;’ before ‘}’ token
17 | arr.push_back(a)
| ^
| ;
18 | }
| ~
summationfrenzy.cpp:24:35: error: expected ‘;’ before ‘y’
24 | x = arr[i] * (j-i)
| ^
| ;
25 | y = arr[j] * (k-j)
| ~