AND20211201
AND20211201
全部文章
分类
dfs(1)
总结(28)
数据结构(1)
未归档(1)
洛谷(1)
题解(113)
归档
标签
去牛客网
登录
/
注册
AND20211201的博客
TA的专栏
17篇文章
0人订阅
未解决
2篇文章
297人学习
数据结构
15篇文章
377人学习
全部文章
(共149篇)
Get an Even String
#include<iostream> #include<string> #include<cstdio> #include<cstring> #include<cmath> #include<queue> #include<...
2022-04-01
3
396
快速幂
#include<iostream> using namespace std; typedef long long LL; int qmi(int a, int b, int p...
2022-03-31
1
272
阻挡广告牌 II
">using namespace std; #define x first #define y second typedef pair<int, int> PII; const int N = 1e6 + 10; PII x ={1000, -1000} , y = {-1000, 1...
2022-03-31
1
269
过河卒
">#include<string> #include<cstdio> #include<cstring> #include<cmath> #include<queue> #include<algorithm> using na...
动态规划
2022-03-31
1
255
阻挡广告牌
">using namespace std; #define x first #define y second typedef pair<int, int> PII; const int N = 1e6 + 10; PII x ={1000, -1000} , y = {-1000, 1...
2022-03-30
1
287
砝码称重
">using namespace std; const int N = 1e5 + 10; int w[N]; bool f[110][N * 2];//f[i][j]表示第i个物品,重量为j int n, m; int main() { int n; cin >>n;...
2022-03-30
1
279
网络分析(已解决)
来自专栏
">using namespace std; const int N = 1e4 + 10; int p[N], s[N]; int find(int x) // 并查集 { if(p[x]==x||p[p[x]] == p[x])return p[x];//当x的父节点为根节点或者x本身...
2022-03-29
1
297
混合牛奶
">using namespace std; int main() { int a[3], b[3]; for(int i = 0; i < 3; i ++) { cin >> a[i] >> b[i]; } fo...
2022-03-29
0
248
果壳游戏
">using namespace std; int a[110][3]; int main() { int t; cin >>t; for(int i = 0; i < t; i ++) { cin >> a[i][0]...
2022-03-29
1
333
水桶传递序列
">using namespace std; #define x first #define y second int main() { char s[11][11]; pair<int,int> a, b, c; for(int i = 0; i < 10...
2022-03-28
0
273
首页
上一页
2
3
4
5
6
7
8
9
10
11
下一页
末页