Problem bestplace
User Vinayak01
Submission Time 2025-02-19 19:49:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bestplace.cpp: In function ‘int main()’:
bestplace.cpp:18:31: error: expected ‘)’ before ‘]’ token
18 | int x_op = x[(ceil(n / 2) - 1];
| ~ ^
| )
bestplace.cpp:18:32: error: expected ‘]’ before ‘;’ token
18 | int x_op = x[(ceil(n / 2) - 1];
| ^
| ]
bestplace.cpp:19:31: error: expected ‘)’ before ‘]’ token
19 | int y_op = y[(ceil(n / 2) - 1];
| ~ ^
| )
bestplace.cpp:19:32: error: expected ‘]’ before ‘;’ token
19 | int y_op = y[(ceil(n / 2) - 1];
| ^
| ]