摘要: Map的使用,掌握基础STL的使用。#include#include#include#includeusing namespace std;int main(){ int t; scanf("%d",&t); while(t--){ mapm1; ... 阅读全文
posted @ 2015-05-15 20:44 袁汉春 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 给定起点和终点之间的距离 L ,在起点和终点之间存在 n 个点,给出这 n 个点距离起点的距离,求把这n个点中去掉m个点后剩余点之间可能的最小值的最大值(即求 n-m 个点之间距离最小值的最大值) 。首先知道结果必然存在于在不操作的最小值和L之间,答案范围确定。然后就是给定middle含义: 比最小... 阅读全文
posted @ 2015-05-15 10:01 袁汉春 阅读(181) 评论(0) 推荐(0) 编辑