
贪心算法
文章平均质量分 80
zzuspy
本人初学者~~
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
河南省第六届大学生程序设计竞赛--外星人的供给站
河南省第六届大学生程序设计竞赛!!原创 2014-11-08 14:28:38 · 1816 阅读 · 0 评论 -
UVA - 10954 - Add All (贪心)
UVA - 10954Add AllTime Limit: 3000MSMemory Limit: Unknown64bit IO Format: %lld & %lluSubmit StatusDescriptionProblem FAdd AllInput: standard inputOutput: stan原创 2015-03-31 22:12:35 · 1194 阅读 · 0 评论 -
UVA - 108 - Maximum Sum (简单贪心)
UVA - 108Maximum SumTime Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %lluSubmit StatusDescriptionBackgroundA problem that is simple原创 2015-04-02 22:28:59 · 1006 阅读 · 0 评论 -
UVA - 993 - Product of digits (简单贪心)
993 Product of digitsFor a given non-negative integer number N, find the minimal natural Q such that the product of alldigits of Q is equal N.InputThe first line of input contains one po原创 2015-04-01 23:20:41 · 581 阅读 · 0 评论 -
UVA - 10700 - Camel trading (简单贪心)
UVA - 10700Camel tradingTime Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %lluSubmit StatusDescriptionProblem E - Camel tradingTime L原创 2015-03-30 23:37:46 · 741 阅读 · 0 评论 -
HDU - 5190 - Go to movies && 5191 - Building Blocks (BC#34 A,B)
Go to moviesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 99 Accepted Submission(s): 67Problem DescriptionWinter holiday is原创 2015-03-21 23:10:35 · 988 阅读 · 0 评论 -
SGU - 355 - Numbers Painting (贪心)
355. Numbers PaintingTime limit per test: 0.25 second(s)Memory limit: 65536 kilobytesinput: standardoutput: standardDr. Vasechkin wants to paint all numbers from 1 to N in such a way原创 2015-03-17 15:09:35 · 834 阅读 · 0 评论 -
HDU - 1248 - 寒冰王座 (完全背包 or 贪心)
寒冰王座Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 12267 Accepted Submission(s): 6221Problem Description不死族的巫妖王发工资拉,死亡骑士拿到一张原创 2015-03-15 22:50:50 · 843 阅读 · 0 评论 -
SGU - 186 - The Chain (贪心)
186. The Chaintime limit per test: 0.25 sec.memory limit per test: 4096 KBinput: standard inputoutput: standard outputSmith has N chains. Each chain is the sequence of successi原创 2015-03-15 10:11:52 · 927 阅读 · 0 评论 -
Codeforces Round #293 (Div. 2) -- A. Vitaly and Strings
A. Vitaly and Stringstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVitaly is a diligent student who never原创 2015-02-25 12:56:41 · 1064 阅读 · 0 评论 -
Codeforces Round #293 (Div. 2) -- C. Anya and Smartphone
C. Anya and Smartphonetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAnya has bought a new smartphone that原创 2015-02-25 13:05:52 · 775 阅读 · 0 评论 -
Codeforces Round #293 (Div. 2) -- B. Tanya and Postcard
B. Tanya and Postcardtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle Tanya decided to present her d原创 2015-02-25 13:03:41 · 967 阅读 · 0 评论 -
Codeforces Round #289 (Div. 2, ACM ICPC Rules) -- B. Painting Pebbles (贪心)
B. Painting Pebblestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n piles of pebbles on the tabl原创 2015-02-06 19:44:32 · 1037 阅读 · 0 评论 -
hihoCoder - 1051 - 补提交卡 (枚举,贪心!!)
#1051 : 补提交卡时间限制:2000ms单点时限:1000ms内存限制:256MB描述小Ho给自己定了一个宏伟的目标:连续100天每天坚持在hihoCoder上提交一个程序。100天过去了,小Ho查看自己的提交记录发现有N天因为贪玩忘记提交了。于是小Ho软磨硬泡、强忍着小Hi鄙视的眼神从小Hi那里要来M张"补提交卡"。每张"补提交卡原创 2014-12-25 16:08:54 · 2497 阅读 · 2 评论 -
POJ - 2965 - The Pilots Brothers' refrigerator (高效贪心!!)
The Pilots Brothers' refrigeratorTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 19356 Accepted: 7412 Special JudgeDescriptionThe game “The Pilo原创 2014-12-19 10:46:34 · 1516 阅读 · 0 评论 -
POJ-1328-Radar Installation
Radar InstallationTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 54139 Accepted: 12177DescriptionAssume the coasting is an infinite straight line. Land转载 2014-10-24 12:42:49 · 586 阅读 · 0 评论 -
ZOJ-2091-Mean of Subsequence (反证法的运用!!)
贪心算法应用!反证法证明!!原创 2014-11-06 15:31:25 · 1040 阅读 · 0 评论 -
Codeforces Round #296 (Div. 2)
A. Playing with Papertime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne day Vasya was sitting on a not so原创 2015-03-18 11:08:56 · 984 阅读 · 0 评论