2016年9月14日
摘要: 1.将map转化为vector类型 2.使用sort函数对vector进行排序,写出compare比较器函数 3.比较器中指明按照第几个元素来排序 1 #include <iostream> 2 #include <map> 3 #include <algorithm> 4 #include <ve 阅读全文
posted @ 2016-09-14 09:23 人生一世,草木一秋。 阅读(136) 评论(0) 推荐(0) 编辑