
贪心算法
文章平均质量分 81
寒山小妖
你被别人嫉妒说明你卓越,你嫉妒别人说明你无能。
展开
-
Radar Installation(区间选点)
Radar InstallationTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 51131 Accepted: 11481DescriptionAssume the coasting is an infinite straight line原创 2016-08-07 23:59:55 · 427 阅读 · 6 评论 -
Integer Intervals(区间选点)
Integer IntervalsTime Limit:1000MS Memory Limit:10000KB 64bit IO Format:%lld & %lluDescriptionAn integer interval [a,b], a Write a program that: finds the minimal number of eleme原创 2016-08-07 23:51:39 · 670 阅读 · 5 评论 -
Y2K Accounting Bug
Y2K Accounting BugDescriptionAccounting for Computer Machinists (ACM) has sufferred from the Y2K bug and lost some vital data for preparing annual report for MS Inc. All what they remember i原创 2016-07-17 14:08:36 · 1359 阅读 · 0 评论 -
区间相交问题
区间相交问题Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Practice FZU 1230Description给定 x 轴上 n 个闭区间。去掉尽可能少的闭区间,使剩下的闭区间都不相交。★算法设计: 对于给定的 n 个闭区间,计算去掉的最少闭区间数。原创 2016-07-17 13:56:20 · 436 阅读 · 0 评论 -
今年暑假不AC
今年暑假不ACTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uDescription“今年暑假不AC?” “是的。” “那你干什么呢?” “看世界杯呀,笨蛋!” “@#$%^&*%...” 确实如此,世界杯来了,球迷的节日也来了,估计很原创 2016-07-17 13:55:00 · 379 阅读 · 0 评论 -
Wooden Sticks
Wooden SticksTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u DescriptionThere is a pile of n wooden sticks. The length and weight of each stick are known in adva原创 2016-07-17 13:32:40 · 359 阅读 · 0 评论 -
FatMouse' Trade
FatMouse' TradeTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uDescriptionFatMouse prepared M pounds of cat food, ready to trade with the cats guarding the原创 2016-07-17 13:14:48 · 344 阅读 · 0 评论 -
Doing Homework again
Doing Homework againTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uDescriptionIgnatius has just come back school from the 30th ACM/ICPC. Now he has a lot of ho原创 2016-07-15 23:02:08 · 415 阅读 · 0 评论