这不就是常问的 nth_element,或者快速选择。如果明确只有20,写20个 if else 也行

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务