贪心
文章平均质量分 81
Liao_Jingyi
这个作者很懒,什么都没留下…
展开
-
TC SRM639-500 Alice Game Easy
Single Round Match 639 500 AliceGameEasy Problem Statement Alice and Kirito just played a game.The game consisted of a finite (possibly empty) sequence of turns.You do not know the exact nu原创 2014-11-28 23:41:55 · 1253 阅读 · 0 评论 -
cdoj 1018 王之新学期
新的学期到来了,王早已经把整个学期全都安排好了。 整个学期一共n天,第i天安排了Pi件事情。可是就在开学的前一天晚上,王突然觉得这个整个学期安排可能不够有趣。 一个学期是有趣当且仅当对于任意一个整数i(1≤i≤n),第i天的的事情数目总是等于倒数第i天的事情数目。 因此王必须花费一定代价改变安排使得整个学期变得有趣。 王每次操作都花费一个代价,可以将一件事情从当天提前到昨天或者延后到明天。原创 2014-12-06 19:42:10 · 637 阅读 · 0 评论 -
POJ 3622 Gourmet Grazers
Description Like so many others, the cows have developed very haughty tastes and will no longer graze on just any grass. Instead, Farmer John must purchase gourmet organic grass at the Green Gr原创 2015-01-31 23:44:24 · 646 阅读 · 1 评论 -
CF 525 C. Ilya and Sticks
C. Ilya and Sticks time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output In the evening, after the contest Ilya was bored,原创 2015-03-30 22:08:43 · 474 阅读 · 0 评论