Problem bestplace
User Jaryl
Submission Time 2025-06-21 20:19:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bestplace.cpp: In function ‘int main()’:
bestplace.cpp:14:42: error: expected ‘;’ before ‘sort’
14 | sort(x.begin(), x.end(), greater<int>())
| ^
| ;
15 | sort(y.begin(), y.end())
| ~~~~
bestplace.cpp:20:10: error: ‘MedianX’ was not declared in this scope; did you mean ‘MedianY’?
20 | cout << MedianX << MedianY;
| ^~~~~~~
| MedianY