贪心
文章平均质量分 90
kyoma
这个kyoma就是逊啦
展开
-
hdu2546 饭卡 01背包 贪心 TWT Tokyo Olympic--1 Combo -1
饭卡Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 23644 Accepted Submission(s): 8310Problem Description电子科大本部食堂的饭卡有一种很诡异的设计,即原创 2016-09-01 11:33:04 · 443 阅读 · 0 评论 -
AtCoder Grand Contest 011 A\B 贪心、二分
A - Airport Bus時間制限 : 2sec / メモリ制限 : 256MB配点 : 300 点問題文高橋空港には,毎日飛行機で N 人の乗客が到着します. i 番目の乗客は時刻 Ti に到着します.高橋空港に到着する乗客は全員バスで市内へ移動します.どのバスも定員は C 人であり,C 人以下の乗客を乗せることができます. 飛行機の乗客は,飛原创 2017-03-12 21:58:00 · 506 阅读 · 0 评论 -
fjnuoj1199 火柴棒 贪心
Flag巨巨的桌上有着非常多的火柴棒。这些火柴棒被摆成了一个十进制数。每个数字字母用火柴棒的摆法如下图。这个十进制数有n位。某一天,Flag巨巨想把这些火车棒重新排列一次。他喜欢美妙的数字,所以他希望排出的新的数字是一个回文数(如12321,1221都是回文数,1231则不是回文数),并且要恰好用完所有的火柴棒。同时他也喜欢大的数字,所以他希望排出来的新数字要尽量大。现在我原创 2016-12-05 17:28:57 · 819 阅读 · 0 评论 -
poj2586 Y2K Accounting Bug 贪心
Y2K Accounting BugTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 14004 Accepted: 7097DescriptionAccounting for Computer Machinists (ACM) has sufferred原创 2016-11-12 23:59:19 · 454 阅读 · 0 评论 -
poj3253 Fence Repair 贪心
Fence RepairTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 41985 Accepted: 13664DescriptionFarmer John wants to repair a small length of the fence arou原创 2016-11-12 14:10:51 · 389 阅读 · 0 评论 -
poj3069 Saruman's Army 贪心
Saruman's ArmyTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 8317 Accepted: 4236DescriptionSaruman the White must lead his army along a straight path原创 2016-11-12 13:04:02 · 328 阅读 · 0 评论 -
poj3617 Best Cow Line 贪心
Best Cow LineTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 20307 Accepted: 5578DescriptionFJ is about to take his N (1 ≤ N ≤ 2,000) cows to the annu原创 2016-11-12 12:32:55 · 351 阅读 · 0 评论 -
poj1328 Radar Installation 贪心 几何计算
Radar InstallationTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 79474 Accepted: 17769DescriptionAssume the coasting is an infinite straight line. Land原创 2016-11-12 00:10:52 · 311 阅读 · 0 评论 -
hdu5938 Four Operations 贪心
Four OperationsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 104 Accepted Submission(s): 49Problem DescriptionLittle Ruins原创 2016-10-29 22:31:27 · 747 阅读 · 0 评论 -
hdu5933 ArcSoft's Office Rearrangement 贪心
ArcSoft's Office RearrangementTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 136 Accepted Submission(s): 65Problem Description原创 2016-10-29 21:49:27 · 868 阅读 · 0 评论 -
hdu4004 The Frog's Games 二分查找+贪心 TWT Tokyo Olympic 1COMBO-2
The Frog's GamesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65768/65768 K (Java/Others)Total Submission(s): 6274 Accepted Submission(s): 3064Problem DescriptionThe annual Games in原创 2016-09-19 16:06:45 · 448 阅读 · 0 评论 -
Educational Codeforces Round 31(ABCD):有向图求环长度/数据结构贪心
比赛地址 A. Book Reading time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Recently Luba bought a very interesting book. She know原创 2017-11-02 19:49:20 · 574 阅读 · 0 评论