ymzqwq
ymzqwq
全部文章
模拟/暴力
233(7)
BZOJ(4)
Codeforces(5)
dfs(1)
DP(24)
hdu(1)
TopCoder(20)
不知道怎么分类(2)
乱搞(2)
分块(1)
博弈论(1)
图论(5)
平衡树(2)
并查集(4)
搜索(4)
数论(18)
未归档(3)
杂记(2)
树(4)
树状数组(1)
游记(1)
笔记整理(3)
线段树(1)
贪心(5)
递归(1)
递推(1)
归档
标签
去牛客网
登录
/
注册
w(゚Д゚)w
此人很懒,没有留下博客介绍。
全部文章
/ 模拟/暴力
(共5篇)
TopCoder SRM 681 Div1 500 LimitedMemorySeries2
这题假得不行啊…一直感觉 O ( n l ...
2018-10-23
0
378
TopCoder SRM 579 Div2 1000 MarblePositioning
貌似tc的div2 1000有很多这样的水题 就是暴枚全排列啊。。 水破天际了好吗O__O "… 然而这题还卡精度。。 #include <bits/stdc++.h> #define fr(i,x,y) for(int i=x;i<=y;i++) #define ll...
2018-10-03
0
384
TopCoder SRM 570 Div1 250 RobotHerb
可以发现执行四次之后方向一定和原来相同,有了这个性质就很容易处理了。 #include <bits/stdc++.h> #define ll long long using namespace std; const int dx[4]={0,1,0,-1}; const int dy[...
2018-08-14
0
507
TopCoder SRM 569 Div1 250 TheDevice
对于每一位,都至少要有1个0,2个1,如果不足就要添加。 #include <bits/stdc++.h> using namespace std; int n,m; class TheDevice { public: int minimumAdditional( vecto...
2018-08-13
0
376
TopCoder SRM 568 Div1 250 BallsSeparating
最不擅长的码农题,情况繁琐。 如果一个颜色存在,那么必须有至少一个盒子放这种颜色。我们枚举必须放某种颜色的盒子,其余的盒子把数量较小的两种颜色拿走就行了。 //tc is healthy, just do it #include <bits/stdc++.h> using names...
2018-08-13
0
408