摘要: http://acm.hdu.edu.cn/showproblem.php?pid=4585从原来的人中找出战斗数值最接近的,输出他们两人的序号要在logn的复杂度完成查找,我用的是set,当然用map也可以,两个内部都是红黑树实现水题一道#include #include #include #in... 阅读全文