感觉可以直接用c++ STL中的nth_element,不知道算不算犯规
点赞 评论

相关推荐

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