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

Compile Error

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