随笔分类 - 

上一页 1 2 3 4 5 6 7 8 9 ··· 15 下一页
摘要:椒过 #include <bits/stdc++.h> using namespace std; int n,m,tot,lnk[505],ter[500005],nxt[500005],st[500005],ed[500005],deg[505]; double a[505][505],b[505 阅读全文
posted @ 2024-10-21 08:58 yzc_is_SadBee 阅读(15) 评论(0) 推荐(0)
摘要:然而题单里就是有这题…… dij,照亮世界! #include<bits/stdc++.h> using namespace std; int n,k,m,s,t,a[105][105],wen[105]; int d[100005]; bool vis[100005]; int qi,mo,f; 阅读全文
posted @ 2024-10-21 08:34 yzc_is_SadBee 阅读(9) 评论(0) 推荐(0)
摘要:暴搜+剪枝。 #include<bits/stdc++.h> using namespace std; struct f{ int rank,sum; }cou[10]; int a[10][10],hang[10][10],lie[10][10],gong[10][10],s[100][4],u, 阅读全文
posted @ 2024-10-21 08:06 yzc_is_SadBee 阅读(16) 评论(0) 推荐(0)
摘要:这题治好了我的快读恐惧症,让我理解了cin的力量 cin,照亮世界! #include<bits/stdc++.h> using namespace std; const int inf=0x3f3f3f3f; int n,ans=-inf; int a[105]; int f[150][150], 阅读全文
posted @ 2024-10-16 19:43 yzc_is_SadBee 阅读(13) 评论(0) 推荐(0)
摘要:怎么这么多忘交的 一起发的原因还是vjudge #include<bits/stdc++.h> using namespace std; int read() { int x = 0; bool op = 0; char c = getchar(); while(!isdigit(c))op |= 阅读全文
posted @ 2024-10-15 20:18 yzc_is_SadBee 阅读(25) 评论(0) 推荐(0)
摘要:wc,模板exgcd! 甚至还交过 #include<bits/stdc++.h> using namespace std; long long x, y; void digui(long long a, long long b){ if(b == 0) { x = 1; y = 7; return 阅读全文
posted @ 2024-10-15 20:17 yzc_is_SadBee 阅读(9) 评论(0) 推荐(0)
摘要:唐 #include<bits/stdc++.h> #define U(i,l,r) for(int i(l);i<=r;++i) #define D(i,r,l) for(int i(r);i>=l;--i) #define Huge_Int vector<long long> #define B 阅读全文
posted @ 2024-10-15 20:02 yzc_is_SadBee 阅读(26) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 9 ··· 15 下一页