上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 50 下一页
摘要: RobotsTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 3621Accepted: 1643DescriptionYour company provides robots that can be used to pick up litter from fields after sporting events and concer... 阅读全文
posted @ 2013-07-04 07:14 码代码的猿猿 阅读(235) 评论(0) 推荐(0)
摘要: Wooden SticksTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 16262Accepted: 6748DescriptionThere is a pile of n wooden sticks. The length and weight of each stick are known in advance. The st... 阅读全文
posted @ 2013-07-04 01:50 码代码的猿猿 阅读(185) 评论(0) 推荐(0)
摘要: 定理1 令(X,≤)是一个有限偏序集,并令r是其最大链的大小。则X可以被划分成r个但不能再少的反链。其对偶定理称为Dilworth定理:定理2 令(X,≤)是一个有限偏序集,并令m是反链的最大的大小。则X可以被划分成m个但不能再少的链。说白了就是 链的最少划分数=反链的最长长度 阅读全文
posted @ 2013-07-04 00:09 码代码的猿猿 阅读(231) 评论(0) 推荐(0)
摘要: River HopscotchTime Limit: 2000MSMemory Limit: 65536KTotal Submissions: 5193Accepted: 2260DescriptionEvery year the cows hold an event featuring a peculiar version of hopscotch that involves carefully... 阅读全文
posted @ 2013-07-03 22:58 码代码的猿猿 阅读(138) 评论(0) 推荐(0)
摘要: const int MAXSIZE = 200; void Add(char *str1, char *str2, char *str3); void Minus(char *str1, char *str2, char *str3); void Mul(char *str1, char *str2, char *str3); void Div(char *str1, char *str2, ch... 阅读全文
posted @ 2013-07-03 06:21 码代码的猿猿 阅读(186) 评论(0) 推荐(0)
摘要: Crossing RiverTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 9585Accepted: 3622DescriptionA group of N people wishes to go across a river with only one boat, which can at most carry two pers... 阅读全文
posted @ 2013-07-03 05:29 码代码的猿猿 阅读(235) 评论(0) 推荐(0)
摘要: A. Ciel and Robottime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputFox Ciel has a robot on a 2D plane. Initially it is located in (0, 0). Fox Ciel co... 阅读全文
posted @ 2013-07-02 08:17 码代码的猿猿 阅读(282) 评论(0) 推荐(0)
摘要: The BalanceTime Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4497Accepted Submission(s): 1808Problem DescriptionNow you are asked to measure a dose of medicine with a balance and a number of weights. Certainly it is not always achievable. So you shou 阅读全文
posted @ 2013-07-01 17:23 码代码的猿猿 阅读(269) 评论(0) 推荐(0)
摘要: FruitTime Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2432Accepted Submission(s): 1345Problem Description转眼到了收获的季节,由于有TT的专业指导,Lele获得了大丰收。特别是水果,Lele一共种了N种水果,有苹果,梨子,香蕉,西瓜……不但味道好吃,样子更是好看。于是,很多人们慕名而来,找Lele买水果。甚至连大名鼎鼎的HDU ACM总教头 lcy 也来了。lcy抛出一打百元大钞," 阅读全文
posted @ 2013-07-01 17:22 码代码的猿猿 阅读(280) 评论(0) 推荐(0)
摘要: Coin ChangeTime Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 10289Accepted Submission(s): 3451Problem DescriptionSuppose there are 5 types of coins: 50-cent, 25-cent, 10-cent, 5-cent, and 1-cent. We want to make changes with these coins for a given a 阅读全文
posted @ 2013-07-01 17:21 码代码的猿猿 阅读(298) 评论(0) 推荐(0)
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 50 下一页