摘要: 传送门 Description Pavel loves grid mazes. A grid maze is an n × m rectangle maze where each cell is either empty, or is a wall. You can go from one cell 阅读全文
posted @ 2017-05-28 20:22 zxzhang 阅读(335) 评论(0) 推荐(0) 编辑
摘要: autumn#include<bits/stdc++.h> using namespace std; const int maxn = 200005; int p[maxn],a[maxn],b[maxn]; bool vis[maxn]; set<pair<int,int> >s[5]; int 阅读全文
posted @ 2017-05-28 16:15 zxzhang 阅读(701) 评论(0) 推荐(1) 编辑