![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
贪心
CNG Steve·Curcy
death is what gives life meaning, to know your days are numbered,your time is short.
展开
-
51Nod - 1065 - 最小正子段和(线段树 & 贪心)
51Nod - 1065 - 最小正子段和N个整数组成的序列a11,a22,a33,…,ann,从中选出一个子序列(aii,ai+1i+1,…ajj),使这个子序列的和>0,并且这个和是所有和>0的子序列中最小的。 例如:4,-1,5,-2,-1,2,6,-2。-1,5,-2,-1,序列和为1,是最小的。 Input 第1行:整数序列的长度N(2 <= N <= ...原创 2018-08-12 10:39:36 · 314 阅读 · 0 评论 -
Dakar Rally ZOJ - 3699(贪心)
Dakar Rally ZOJ - 3699(贪心)题目描述题目链接参考题解题意思路代码题目描述 Description The Dakar Rally is an annual Dakar Series rally raid type of off-road race, organized by the Amaury Sport Organization. The off-road end...原创 2019-03-06 16:43:56 · 217 阅读 · 0 评论