随笔分类 - 题
摘要:椒过 #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
阅读全文
摘要:然而题单里就是有这题…… 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;
阅读全文
摘要:暴搜+剪枝。 #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,
阅读全文
摘要:这题治好了我的快读恐惧症,让我理解了cin的力量 cin,照亮世界! #include<bits/stdc++.h> using namespace std; const int inf=0x3f3f3f3f; int n,ans=-inf; int a[105]; int f[150][150],
阅读全文
摘要:怎么这么多忘交的 一起发的原因还是vjudge #include<bits/stdc++.h> using namespace std; int read() { int x = 0; bool op = 0; char c = getchar(); while(!isdigit(c))op |=
阅读全文
摘要: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
阅读全文
摘要:唐 #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
阅读全文

浙公网安备 33010602011771号