摘要: 开一个数组做成队列来搜索就好了。 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 8 const int MAXN=100010; 9 10 typedef struct po... 阅读全文
posted @ 2014-07-25 21:55 chenjunjie1994 阅读(201) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include using namespace std;const int Max=1050;struct e{ int x1,x2;}edge[Max];struct c{ int x,y;}cal[4];int n,m;int X1,Y1,... 阅读全文
posted @ 2014-07-25 16:10 chenjunjie1994 阅读(101) 评论(0) 推荐(0) 编辑