摘要: O !K 阅读全文
posted @ 2019-04-24 19:23 李白莘莘学子 阅读(1085) 评论(0) 推荐(1)
摘要: // luogu-judger-enable-o2 #include #include #include #include #define spfa zhx_ak_ioi using namespace std; const long long inf=2147483647; long long n,m,s; long long dis[10008],vis[10001],head[100... 阅读全文
posted @ 2019-04-24 19:19 李白莘莘学子 阅读(391) 评论(0) 推荐(0)
摘要: #include<cstdio>#include<cmath>#include<iostream>using namespace std;int n,m,b,l,f[1001];//b为begin,l为last inline int fat(int i){if(f[i]!=i)f[i]=fat(f[ 阅读全文
posted @ 2019-04-24 18:57 李白莘莘学子 阅读(187) 评论(0) 推荐(0)