Problem lonelybeavers
User ThePwo
Submission Time 2024-11-28 15:50:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lonelybeavers.cpp: In function ‘long long int c(long long int, long long int)’:
lonelybeavers.cpp:11:2: error: expected ‘,’ or ‘;’ before ‘return’
11 | return pre[j] - pre[it - 1] - med * (j - it + 1) + (it - i) * med - pre[it - 1] + pre[i - 1];
| ^~~~~~