我为什么可以这么菜
我为什么可以这么菜
全部文章
分类
未归档(1)
题解(82)
归档
标签
去牛客网
登录
/
注册
我为什么可以这么菜的博客
只有我们知道那片蓝色的大海曾经是金色的沙漠
全部文章
(共83篇)
Codeforces Round #621 (Div. 1 + Div. 2)
A. 题意:有1~n一排数,每天可以搬运一个东西到相邻的位置,一共搬运d天,问你1号位置最多能有多少东西 题解:肯定是贪心往1号位置搬,先从2号位置搬,再从3号位置搬,一直搬到到达第d天或者全部搬完为止 #include <bits/stdc++.h> using namespace s...
2020-02-18
0
493
Codeforces Round #620 (Div. 2)
A.Two Rabbits 题意:两只兔子一开始在x、y两点,每次相向跳a、b步,询问是否能在某一时刻相遇,如果能则输出时刻 题解:水题,直接模拟即可。 #include <bits/stdc++.h> using namespace std; typedef long long ll;...
贪心
lca
2020-02-16
0
463
2020牛客寒假算法基础集训营3
A.牛牛的DRB迷宫I 题解:这道最签到的题目,裸dp #include<bits/stdc++.h> using namespace std; typedef long long ll; const int maxn = 205; int n,m; const int mod = 1e...
2020-02-09
0
425
首页
上一页
1
2
3
4
5
6
7
8
9
下一页
末页