摘要: Simpsons’ Hidden TalentsTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 953Accepted Submission(s): 328Problem DescriptionHomer: Marge, I just figured out a way to discover some of the talents we weren’t aware we had.Marge: Yeah, what is it?Homer: . 阅读全文
posted @ 2012-09-13 22:00 Suhx 阅读(1695) 评论(2) 推荐(0) 编辑
摘要: 剪花布条Time Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4803Accepted Submission(s): 3233Problem Description一块花布条,里面有些图案,另有一块直接可用的小饰条,里面也有一些图案。对于给定的花布条和小饰条,计算一下能从花布条中尽可能剪出几块小饰条来呢?Input输入中含有一些数据,分别是成对出现的花布条和小饰条,其布条都是用可见ASCII字符表示的,可见的ASCII字符有多少个,布条的花纹也有多. 阅读全文
posted @ 2012-09-13 21:52 Suhx 阅读(450) 评论(0) 推荐(0) 编辑
摘要: Number SequenceTime Limit: 10000/5000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 6296Accepted Submission(s): 2845Problem DescriptionGiven two sequences of numbers : a[1], a[2], ...... , a[N], and b[1], b[2], ...... , b[M] (1 <= M <= 10000, 1 <= N <= 100 阅读全文
posted @ 2012-09-13 21:41 Suhx 阅读(444) 评论(0) 推荐(0) 编辑
摘要: HeroTime Limit: 6000/3000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1263Accepted Submission(s): 634Problem DescriptionWhen playing DotA with god-like rivals and pig-like team members, you have to face an embarrassing situation: All your teammates are killed, and . 阅读全文
posted @ 2012-09-11 21:38 Suhx 阅读(1869) 评论(0) 推荐(0) 编辑
摘要: SumsetsTime Limit: 6000/2000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 863Accepted Submission(s): 339Problem DescriptionFarmer John commanded his cows to search for different sets of numbers that sum to a given number. The cows use only numbers that are an intege. 阅读全文
posted @ 2012-09-11 21:01 Suhx 阅读(454) 评论(0) 推荐(0) 编辑
摘要: Piggy-BankTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5684Accepted Submission(s): 2854Problem DescriptionBefore ACM can do anything, a budget must be prepared and the necessary financial support obtained. The main income for this action comes . 阅读全文
posted @ 2012-09-02 13:44 Suhx 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 悼念512汶川大地震遇难同胞——珍惜现在,感恩生活Time Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7556Accepted Submission(s): 3121Problem Description急!灾区的食物依然短缺!为了挽救灾区同胞的生命,心系灾区同胞的你准备自己采购一些粮食支援灾区,现在假设你一共有资金n元,而市场有m种大米,每种大米都是袋装产品,其价格不等,并且只能整袋购买。请问:你用有限的资金最多能采购多少公斤粮食呢?后记:人生是 阅读全文
posted @ 2012-09-01 15:30 Suhx 阅读(393) 评论(0) 推荐(0) 编辑
摘要: KingTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 601Accepted Submission(s): 287Problem DescriptionOnce, in one kingdom, there was a queen and that queen was expecting a baby. The queen prayed: ``If my child was a son and if only he was a sound . 阅读全文
posted @ 2012-08-29 09:56 Suhx 阅读(563) 评论(0) 推荐(0) 编辑
摘要: Bone CollectorTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 14336Accepted Submission(s): 5688Problem DescriptionMany years ago , in Teddy’s hometown there was a man who was called “Bone Collector”. This man like to collect varies of bones , such. 阅读全文
posted @ 2012-08-28 10:46 Suhx 阅读(6754) 评论(1) 推荐(3) 编辑
摘要: 敌兵布阵Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 19445Accepted Submission(s): 8481Problem DescriptionC国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Derek和他手下Tidy又开始忙乎了。A国在海岸线沿直线布置了N个工兵营地,Derek和Tidy的任务就是要监视这些工兵营地的活动情况。由于采取了某种先进的监测手段,所以每个工兵营地的人数C国都掌握的一清二楚,每个工兵营地的人. 阅读全文
posted @ 2012-08-28 10:00 Suhx 阅读(352) 评论(0) 推荐(0) 编辑