摘要: 文章目录 std暴力datacheck std #include using namespace std;int a,b;int ... 阅读全文
posted @ 2022-07-13 19:57 此间无物 阅读(31) 评论(0) 推荐(0)
摘要: 文章目录 bitsetstl bitset https://www.cnblogs.com/RabbitHu/p/bitset.h... 阅读全文
posted @ 2022-07-13 19:57 此间无物 阅读(11) 评论(0) 推荐(0)
摘要: 文章目录 1158. 受欢迎的牛(tarjan板子)1159. 连通数1160. 抢掠计划atm958. 传球648. 信息传递 ... 阅读全文
posted @ 2022-07-13 19:57 此间无物 阅读(31) 评论(0) 推荐(0)
摘要: P4467 [SCOI2007]k短路 #include #include #include #include #include using namespace std;int cnt2,poi1[51],nxt1[2501],des1[2501],cst1[... 阅读全文
posted @ 2022-07-13 19:57 此间无物 阅读(35) 评论(0) 推荐(0)
摘要: P4568 [JLOI2011]飞行路线 #include using namespace std;int n,m,k;int s,t;struct node{ int v,d;};struct no1{ int v,d,k; bool operator y... 阅读全文
posted @ 2022-07-13 19:57 此间无物 阅读(27) 评论(0) 推荐(0)
摘要: P1266 速度限制 #includeusing namespace std;int n,m,d;struct node{ int d,v,l;};struct no1{ int v; double d; bool operator y.d; }};vect... 阅读全文
posted @ 2022-07-13 19:57 此间无物 阅读(26) 评论(0) 推荐(0)
摘要: 这玩意今天才知道,但感觉用处不大啊。。。 P5905 【模板】Johnson 全源最短路 #include using namespace std;int n,m;struct node1{ int d,w;};vector e[30010];struc... 阅读全文
posted @ 2022-07-13 19:57 此间无物 阅读(27) 评论(0) 推荐(0)
摘要: #include #include #include #include #include using namespace std;int n,m,point[1001],last[2001],cnt,dis[1001],vis[1001];bool inq[... 阅读全文
posted @ 2022-07-13 19:57 此间无物 阅读(17) 评论(0) 推荐(0)
摘要: 链接 欧拉回路板题 AC代码: ​#include using namespace std; int n,G[151][151];char x,y;int cntIN[151];bool ext[151];int sum;char cc[10000000];i... 阅读全文
posted @ 2022-07-13 19:57 此间无物 阅读(28) 评论(0) 推荐(0)
摘要: #include using namespace std;int n,m,e;int G[501][501],match[501],vis[501];int x,y;int ans;int dfs(int now){ for (int i = 1; i ... 阅读全文
posted @ 2022-07-13 19:57 此间无物 阅读(23) 评论(0) 推荐(0)