会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
麻辣猪仔
首页
新随笔
联系
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
12
下一页
2019年11月5日
P2756 飞行员配对方案问题 网络流
摘要: P2756 飞行员配对方案问题 1 #include <bits/stdc++.h> 2 using namespace std; 3 const int maxn = 10005, inf = 0x3f3f3f; 4 struct Edge { 5 int from, to, cap, flow;
阅读全文
posted @ 2019-11-05 13:43 麻辣猪仔
阅读(140)
评论(0)
推荐(0)
2019年11月4日
P3834 【模板】可持久化线段树 1(主席树)
摘要: P3834 【模板】可持久化线段树 1(主席树) 1 #include <bits/stdc++.h> 2 using namespace std; 3 const int maxn = 2e5+5; 4 int n, q, m, cnt = 0; 5 int a[maxn], b[maxn], T
阅读全文
posted @ 2019-11-04 12:20 麻辣猪仔
阅读(110)
评论(0)
推荐(0)
2019年11月3日
P4015 运输问题 最大/最小费用最大流
摘要: P4015 运输问题 1 #include <bits/stdc++.h> 2 using namespace std; 3 const int maxn = 205, inf = 0x3f3f3f3f; 4 struct Edge { 5 int from, to, cap, flow, cost
阅读全文
posted @ 2019-11-03 13:11 麻辣猪仔
阅读(233)
评论(0)
推荐(0)
2019年11月2日
Problem 2232 炉石传说
摘要: Problem 2232 炉石传说 不知道fzu的账号在哪里弄,想要做题的可以到vj上面去做 https://vjudge.net/problem/FZU-2232 #include <iostream> #include <cstdio> #include <vector> #include <q
阅读全文
posted @ 2019-11-02 22:03 麻辣猪仔
阅读(144)
评论(0)
推荐(0)
P3389 【模板】高斯消元法
摘要: P3389 【模板】高斯消元法 1 #include <bits/stdc++.h> 2 using namespace std; 3 const int maxn = 105; 4 typedef double Matrix[maxn][maxn]; 5 void gauss_eliminatio
阅读全文
posted @ 2019-11-02 21:29 麻辣猪仔
阅读(150)
评论(0)
推荐(0)
P2613 【模板】有理数取余
摘要: P2613 【模板】有理数取余 1 #include <bits/stdc++.h> 2 using namespace std; 3 typedef long long ll; 4 const int p = 19260817; 5 inline ll read() { 6 ll res = 0;
阅读全文
posted @ 2019-11-02 19:10 麻辣猪仔
阅读(185)
评论(0)
推荐(0)
hdu2063 过山车
摘要: hdu2063 过山车 1 #include <bits/stdc++.h> 2 using namespace std; 3 const int maxn = 2005, inf = 0x3f3f3f; 4 struct Edge { 5 int from, to, cap, flow; 6 };
阅读全文
posted @ 2019-11-02 16:10 麻辣猪仔
阅读(125)
评论(0)
推荐(0)
P3386 【模板】二分图匹配
摘要: P3386 【模板】二分图匹配 1 #include <bits/stdc++.h> 2 using namespace std; 3 const int maxn = 2005, inf = 0x3f3f3f; 4 struct Edge { 5 int from, to, cap, flow;
阅读全文
posted @ 2019-11-02 15:48 麻辣猪仔
阅读(133)
评论(0)
推荐(0)
P3381 【模板】最小费用最大流
摘要: P3381 【模板】最小费用最大流 1 #include <bits/stdc++.h> 2 using namespace std; 3 const int maxn = 10005, inf = 0x3f3f3f3f; 4 struct Edge { 5 int from, to, cap, f
阅读全文
posted @ 2019-11-02 13:42 麻辣猪仔
阅读(180)
评论(0)
推荐(0)
P3376 【模板】网络最大流
摘要: P3376 【模板】网络最大流 1 #include <bits/stdc++.h> 2 using namespace std; 3 const int maxn = 10005, inf = 0x3f3f3f; 4 struct Edge { 5 int from, to, cap, flow;
阅读全文
posted @ 2019-11-02 13:23 麻辣猪仔
阅读(127)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
12
下一页
公告