摘要: 又从cuishen 那学了新东西。。map是可以输出的。。还有这个字符串的输入方式挺高端的 学习了。。之后就是暴力枚举就行了 1 /* 2 ID: shangca2 3 LANG: C++ 4 TASK: contact 5 */ 6 #include <iostream> 7 #include<cstdio> 8 #include<cstring> 9 #include<algorithm>10 #include<stdlib.h>11 #include<cmath>12 #include<map>13 #i 阅读全文
posted @ 2013-05-27 21:40 _雨 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 参考着崔神写的 离散化为小矩形 再依次判断是否在所给矩形中 之前比赛做过一道类似的 1 /* 2 ID:shangca2 3 PROG:rect1 4 LANG:C++ 5 */ 6 #include <iostream> 7 #include<cstdio> 8 #include<cstring> 9 #include<algorithm>10 #include<stdlib.h>11 #include<cmath>12 using namespace std;13 int x1[1010],x2[1010],y2[10 阅读全文
posted @ 2013-05-27 16:22 _雨 阅读(209) 评论(0) 推荐(0) 编辑