- 博客(4)
- 收藏
- 关注
原创 CodeForces - 867E Buy Low Sell High 贪心 优先队列
You can perfectly predict the price of a certain stock for the next Ndays. You would like to profit on this knowledge, but only want totransact one share of stock per day. That is, each day you wil...
2019-03-28 19:23:02
327
原创 简单数学-题解-Trailing Zeroes (III)
Trailing Zeroes (III)You task is to find minimal natural number N, so that N! contains exactly Q zeroes on the trail in decimal notation. As you know N! = 12…*N. For example, 5! = 120, 120 contains ...
2019-03-08 10:28:05
132
原创 每周一练(四)题解
B题-求素数思路数据太多,暴力会超时,所以先打表就好啦。代码#include<cstring> #include<cstdio>#include<iostream>#include<cmath>#include<queue>#include<stack
2018-11-18 18:51:51
259
原创 算法比赛1.0(题解)
A题-Activity planning解题思路贪心算法模板题,规律是每次选择结束时间最早的一个活动。代码#include<cstdio>#include<iostream>#include<cmath>using nam
2018-11-18 14:54:53
277
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人