摘要: #include<bits/stdc++.h>using namespace std;int n;int nxt[3][100007];char buff[100007];const char *seq="msc",*pat[8]={"022012","020212","002212","01202 阅读全文
posted @ 2019-03-01 17:22 sewage 阅读(104) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h>using namespace std;int n,m;long long a=0,b=0,ans=0;char s[407][407];int vis[407][407];const int dir[4][2]={{1,0},{0,1},{-1,0}, 阅读全文
posted @ 2019-03-01 16:15 sewage 阅读(156) 评论(0) 推荐(0) 编辑