
ACM题解
文章平均质量分 84
用于存放各个OJ题目的题解
tokers
所有的魅力在“习惯”面前都将无色。
展开
-
hdu1596——find the safest road
find the safest roadTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7275 Accepted Submission(s): 2580Problem DescriptionXX星球有很多城原创 2014-10-26 12:57:10 · 734 阅读 · 0 评论 -
POJ1014——Dividing
DividingTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 60332 Accepted: 15567DescriptionMarsha and Bill own a collection of marbles. They want to split th原创 2014-10-27 20:32:11 · 785 阅读 · 0 评论 -
POJ1862——Stripies
StripiesTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 12366 Accepted: 5866DescriptionOur chemical biologists have invented a new very useful form of lif原创 2014-10-27 21:33:48 · 806 阅读 · 0 评论 -
hdu1240——Asteroids!
Asteroids!Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3497 Accepted Submission(s): 2312Problem DescriptionYou're in space.Y原创 2014-09-09 19:37:45 · 843 阅读 · 0 评论 -
Codeforces Round #275 (Div. 2)A,B,C
A. Counterexample time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYour friend has recently learned about coprime numb原创 2014-10-25 12:48:59 · 1227 阅读 · 0 评论 -
hdu1007——Quoit Design
Quoit DesignTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 31780 Accepted Submission(s): 8352Problem DescriptionHave you ever p原创 2014-09-28 10:32:53 · 864 阅读 · 0 评论 -
hdu5055——Bob and math problem
Bob and math problemTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 590 Accepted Submission(s): 225Problem DescriptionRecently, B原创 2014-09-29 17:37:42 · 859 阅读 · 0 评论 -
hdu1015——Safecracker
SafecrackerTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 8718 Accepted Submission(s): 4409Problem Description=== Op tech briefi原创 2014-09-29 22:13:35 · 842 阅读 · 0 评论 -
关于01背包空间优化的理解
01背包是最最基础的背包,它的问题特征是给定n物品,原创 2014-10-17 13:24:30 · 2801 阅读 · 1 评论 -
ACdream1236——Burning Bridges
Burning BridgesSpecial JudgeTime Limit: 10000/5000MS (Java/Others)Memory Limit: 128000/64000KB (Java/Others)SubmitStatisticNext ProblemProblem Description Ferry Kingdom is a nice litt原创 2014-10-19 22:09:06 · 1078 阅读 · 0 评论 -
POJ1185——炮兵阵地
炮兵阵地Time Limit: 2000MS Memory Limit: 65536KTotal Submissions: 19782 Accepted: 7651Description司令部的将军们打算在N*M的网格地图上部署他们的炮兵部队。一个N*M的地图由N行M列组成,地图的每一格可能是山地(用"H" 表示),也可能是平原创 2014-10-22 21:39:50 · 854 阅读 · 0 评论 -
POJ3114——Countries in War
Countries in WarTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 2603 Accepted: 776DescriptionIn the year 2050, after different attempts of the UN to mai原创 2014-10-06 15:11:52 · 895 阅读 · 0 评论 -
hdu4612——Warm up
Warm upTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 65535/65535 K (Java/Others)Total Submission(s): 3790 Accepted Submission(s): 862Problem Description N planets are connec原创 2014-10-16 19:48:31 · 936 阅读 · 0 评论 -
SGU——223. Little Kings
223. Little Kingstime limit per test: 0.5 sec.memory limit per test: 65536 KBinput: standardoutput: standardAfter solving nice problems about bishops and rooks, Petya decided that he原创 2014-10-19 16:12:04 · 1347 阅读 · 0 评论 -
hdu4607——Park Visit
Park VisitTime Limit: 6000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2366 Accepted Submission(s): 1051Problem DescriptionClaire and her litt原创 2014-10-18 12:08:05 · 983 阅读 · 0 评论 -
hdu2167——Pebbles
PebblesTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1136 Accepted Submission(s): 661Problem DescriptionYou're given an unlimit原创 2014-10-22 16:49:27 · 1044 阅读 · 0 评论