摘要: /*set加速维护*/ #include #include #include #include #define maxn 100010 using namespace std; sets; set::iterator p; int n,m,a[maxn],top; char c[10]; int init() { int x=0,f=1;char s=getchar(); whi... 阅读全文
posted @ 2016-08-22 21:05 一入OI深似海 阅读(301) 评论(0) 推荐(0) 编辑
摘要: /*双向bfs (得分和单项的一样多....)70*/ #include #include #include #include #define maxn 35 #define maxm 810010 using namespace std; int n,m,q,g[maxn][maxn]; int X,Y,sx,sy,ex,ey,falg,vis[maxn][maxn]; int xx[4]={... 阅读全文
posted @ 2016-08-22 21:02 一入OI深似海 阅读(274) 评论(0) 推荐(0) 编辑