摘要: #include#include#include#includeusing namespace std;const int N=1024;const int inf=1edges;vectorG[N];int n,m,s,t;int vis[N];int d[N];int cur[N... 阅读全文
posted @ 2015-08-12 13:40 xryz 阅读(92) 评论(0) 推荐(0) 编辑
摘要: #include#include#includeusing namespace std;const int N=200000+5;const int inf=1<<24;int dp[N][2],a[N];char s[2*N];int main(){ int n,m,i,_;... 阅读全文
posted @ 2015-08-12 09:35 xryz 阅读(93) 评论(0) 推荐(0) 编辑