Q1:std::nth_element() 的最坏的时间复杂度是多少?是 O(n2)\mathcal O(n^2)O(n2),O(nlogn)\mathcal O(n\log n)O(nlogn),还是 O(n)\mathcal O(n)O(n)?
std::nth_element()
Q2:std::nth_element() 在 NOI 系列竞赛中允许使用吗(应该允许吧