笃_定
笃_定
全部文章
每日一题
2019 GDUT寒假集训解题报告(专题及训练赛)(14)
2019 GDUT寒假集训解题报告(排位赛)(15)
2020寒假集训(12)
2020牛客寒假算法基础集训营(2)
codeforce比赛题(5)
dfs(1)
dp(1)
二分功能的简单实现(1)
常见数学结论(1)
未归档(1)
每日算法打卡(11)
每日训练(1)
洛谷娱乐场(1)
算法学习过程中的心得(1)
网络赛(1)
随笔(12)
题解(1)
归档
标签
去牛客网
登录
/
注册
笃_定的博客
全部文章
/ 每日一题
(共79篇)
奶牛异或
思路 #include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> pii; const int maxn = 1e5 + 10; int tr[maxn]...
2020-11-02
0
579
Vitya and Strange Lesson
思路 #include <bits/stdc++.h> using namespace std; typedef long long ll; const int maxn = 3e5 + 10; int tr[maxn * 32][2]; bool full[maxn * 32]; i...
2020-11-02
0
516
NC16496(飞扬的小鸟 )
感受思路 for(int q = max(0, m - x[i - 1]); q <= m; q++){ dp[i][m] = min(dp[i][m], min(dp[i][q] + 1, dp[i - 1][q] + 1)); }AC代码 #include <bits/stdc...
2020-10-24
0
498
NC21472(对称二叉树)
感受思路 #include <bits/stdc++.h> using namespace std; const int maxn = 1e6 + 10; int lson[maxn], rson[maxn]; int val[maxn], n, num[maxn]; int ans; ...
2020-10-19
1
520
NC25737(筱玛爱线段树 )
感受思路 #include <bits/stdc++.h> #define ls o << 1 #define rs o << 1 | 1 using namespace std; typedef long long ll; const int maxn = 1e...
2020-10-13
0
515
NC24017(Angry Cows(Silver) )
感受思路 #include <bits/stdc++.h> using namespace std; typedef long long ll; vector<ll> pos; int n, num; ll v; bool check(ll R){ if(R <...
2020-10-12
0
463
NC106366(Minimizing maximizer )
思路 #include <algorithm> #include <bitset> #include <cctype> #include <cmath> #include <cstdio> #include <cstdlib> ...
2020-10-09
0
443
NC20951(网络优化 )
感受 思路 #include <bits/stdc++.h> #define ls o << 1 #define rs o << 1 | 1 using namespace std; typedef long long ll; const int maxn = 3...
2020-10-07
1
667
NC50349(The XOR-longest Path )
感受思路 #include <bits/stdc++.h> using namespace std; typedef long long ll; const int maxn = 100000 + 10; //集合中的数字个数 struct edge{ int v,...
2020-09-17
0
548
NC110615(Present )
感受 思路 #include <bits/stdc++.h> using namespace std; typedef long long ll; const int maxn = 1e5 + 10; int n, m, w; int a[maxn]; ll sum[maxn]; in...
2020-09-16
0
576
首页
上一页
1
2
3
4
5
6
7
8
下一页
末页