![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
题解
脸滚键盘起名法
这个作者很懒,什么都没留下…
展开
-
每周一练(四)题解
B题-求素数思路数据太多,暴力会超时,所以先打表就好啦。代码#include<cstring> #include<cstdio>#include<iostream>#include<cmath>#include<queue>#include<stack原创 2018-11-18 18:51:51 · 259 阅读 · 0 评论 -
算法比赛1.0(题解)
A题-Activity planning解题思路贪心算法模板题,规律是每次选择结束时间最早的一个活动。代码#include<cstdio>#include<iostream>#include<cmath>using nam原创 2018-11-18 14:54:53 · 277 阅读 · 0 评论 -
简单数学-题解-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 阅读 · 0 评论 -
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 阅读 · 0 评论