会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Venux
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
18
下一页
2021年2月11日
Educational Codeforces Round 102 (Rated for Div. 2)E题(分层图、最短路)
摘要: https://codeforces.com/contest/1473/problem/E vector存图: 1 #define bug(x) cout<<#x<<" is "<<x<<endl 2 #define IO std::ios::sync_with_stdio(0),cin.tie(0
阅读全文
posted @ 2021-02-11 12:19 Venux
阅读(99)
评论(0)
推荐(0)
2021年1月19日
pipioj 1466: PIPI捡垃圾Ⅱ(平衡树or权值线段树)
摘要: 看了群友的平衡树stl板子,学到了orz 1 #define bug(x) cout<<#x<<" is "<<x<<endl 2 #define IO std::ios::sync_with_stdio(0) 3 #include <bits/stdc++.h> 4 #include <ext/p
阅读全文
posted @ 2021-01-19 11:46 Venux
阅读(150)
评论(0)
推荐(0)
2021年1月13日
pipioj 1452: 括号匹配Ⅱ(贪心)
摘要: 1 #define bug(x) cout<<#x<<" is "<<x<<endl 2 #define IO std::ios::sync_with_stdio(0) 3 #include <bits/stdc++.h> 4 using namespace std; 5 typedef long
阅读全文
posted @ 2021-01-13 03:16 Venux
阅读(122)
评论(0)
推荐(0)
2021年1月12日
pipioj 1453: 魔术师PIPIⅡ(bfs)
摘要: 1 #define bug(x) cout<<#x<<" is "<<x<<endl 2 #define IO std::ios::sync_with_stdio(0) 3 #include <bits/stdc++.h> 4 using namespace std; 5 typedef long
阅读全文
posted @ 2021-01-12 23:28 Venux
阅读(131)
评论(0)
推荐(0)
pipioj 1454: 网络工程师(kruskal)
摘要: 1 #define bug(x) cout<<#x<<" is "<<x<<endl 2 #define IO std::ios::sync_with_stdio(0) 3 #include <bits/stdc++.h> 4 using namespace std; 5 typedef long
阅读全文
posted @ 2021-01-12 21:57 Venux
阅读(128)
评论(0)
推荐(0)
2021年1月5日
pipioj 1039: 重复子序列问题(贪心)
摘要: 1 #define bug(x) cout<<#x<<" is "<<x<<endl 2 #define IO std::ios::sync_with_stdio(0) 3 #include <bits/stdc++.h> 4 using namespace std; 5 typedef long
阅读全文
posted @ 2021-01-05 16:44 Venux
阅读(156)
评论(0)
推荐(0)
2021年1月3日
pipioj 1034: 字典序最小的子序列(贪心)
摘要: 1 #define bug(x) cout<<#x<<" is "<<x<<endl 2 #define IO std::ios::sync_with_stdio(0) 3 #include <bits/stdc++.h> 4 using namespace std; 5 typedef long
阅读全文
posted @ 2021-01-03 01:26 Venux
阅读(162)
评论(0)
推荐(0)
2021年1月2日
pipioj 1175: 货运费用(最短路)
摘要: 1 #define IO std::ios::sync_with_stdio(0) 2 #include <bits/stdc++.h> 3 using namespace std; 4 #define mk make_pair 5 #define pb push_back 6 const int
阅读全文
posted @ 2021-01-02 22:14 Venux
阅读(76)
评论(0)
推荐(0)
pipioj 1241: 01背包(中途相遇法)
摘要: 1 #define bug(x) cout<<#x<<" is "<<x<<endl 2 #define IO std::ios::sync_with_stdio(0) 3 #include <bits/stdc++.h> 4 using namespace std; 5 typedef long
阅读全文
posted @ 2021-01-02 22:08 Venux
阅读(117)
评论(0)
推荐(0)
2020年11月29日
生成二叉排序树
摘要: 1 #include <bits/stdc++.h> 2 using namespace std; 3 typedef int ElemType; 4 5 typedef struct Node{ 6 ElemType data; 7 Node* lson; 8 Node* rson; 9 }*Tr
阅读全文
posted @ 2020-11-29 20:21 Venux
阅读(258)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
18
下一页
公告