AND20211201
AND20211201
全部文章
分类
dfs(1)
总结(28)
数据结构(1)
未归档(1)
洛谷(1)
题解(113)
归档
标签
去牛客网
登录
/
注册
AND20211201的博客
TA的专栏
17篇文章
0人订阅
未解决
2篇文章
297人学习
数据结构
15篇文章
377人学习
全部文章
(共149篇)
蓝桥杯时间显示
#include<iostream> using namespace std; typedef long long LL; int main() { LL sum ; cin >> sum; sum /= 1000; sum %= 86400;...
2022-04-08
1
249
丢失的牛
#include<iostream> using namespace std; int main() { int n, m; cin >>n >>m; int res = 0; int num = 1, cnt = 1; f...
2022-04-07
0
173
完全平方数
#include<iostream> using namespace std; typedef long long LL; int main() { LL n; cin >>n; LL res = 1; for(LL i = 2; i * i ...
2022-04-06
1
182
牛为什么过马路
#include <bits/stdc++.h> using namespace std; int a[11]; int main() { memset(a, -1, sizeof a); int n; cin>>n; int cnt=0; f...
2022-04-06
1
231
乌龟棋
">#include<algorithm> #include <cstdio> using namespace std; const int N = 365; int a[N], b[10]; int f[41][41][41][41]; int main() { i...
2022-04-05
1
202
石子合并
">#include<limits> using namespace std; const int N = 1e3; int a[N]; int f[N][N];//f[i][j]表示的是将[i,j]区间所有石子合并成一堆所用代价最小集合 int main() { int n; ...
2022-04-05
1
227
不做最后一个!
">#include<string> #include<vector> #include<algorithm> using namespace std; #define x first #define y second pair<string,int>...
2022-04-05
1
302
多重背包问题 I
">using namespace std; const int N = 110; int v[N], w[N], s[N]; int f[N][N]; int main() { int n, m; cin >> n >> m; for(int i =...
2022-04-04
0
208
组队井字游戏
#include<iostream> #include<vector> #include<algorithm> #include<cstring> #define x first #define y second...
2022-04-02
1
291
传送
#include<iostream> using namespace std; int main() { int a, b, c, d; &nbs...
2022-04-01
1
212
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页