Problem badcontest
User chatdanai
Submission Time 2026-07-05 20:09:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

badcontest.cpp: In function ‘int main()’:
badcontest.cpp:13:21: error: ‘i’ was not declared in this scope
13 | if (n%2==1) med=b[(i+1)/2];
| ^
badcontest.cpp:14:14: error: ‘i’ was not declared in this scope
14 | else med=(b[i/2]+b[i/2-1])/2;
| ^