摘要: BillboardTime Limit: 20000/8000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4292 Accepted Submission(s): 2003Problem DescriptionAt the entrance to the university, there is a huge rectangular billboard of size h*w (h is its height and w is its width). The board is t 阅读全文
posted @ 2012-08-07 17:13 剑不飞 阅读(144) 评论(0) 推荐(0) 编辑
摘要: Mother's MilkFarmer John has three milking buckets of capacity A, B, and C liters. Each of the numbers A, B, and C is an integer from 1 through 20, inclusive. Initially, buckets A and B are empty while bucket C is full of milk. Sometimes, FJ pours milk from one bucket to another until the second 阅读全文
posted @ 2012-08-07 14:38 剑不飞 阅读(205) 评论(0) 推荐(0) 编辑
摘要: Tempter of the BoneTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 38029 Accepted Submission(s): 10265Problem DescriptionThe doggie found a bone in an ancient maze, which fascinated him a lot. However, when he picked it up, the maze began to shake 阅读全文
posted @ 2012-08-06 18:30 剑不飞 阅读(130) 评论(0) 推荐(0) 编辑
摘要: FlowersTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1076 Accepted Submission(s): 535Problem DescriptionAs is known to all, the blooming time and duration varies between different kinds of flowers. Now there is a garden planted full of flowers. 阅读全文
posted @ 2012-08-06 17:21 剑不飞 阅读(225) 评论(0) 推荐(0) 编辑
摘要: Man DownTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1171 Accepted Submission(s): 400Problem DescriptionThe Game “Man Down 100 floors” is an famous and interesting game.You can enjoy the game fromhttp://hi.baidu.com/abcdxyzk/blog/item/16398781b 阅读全文
posted @ 2012-08-06 14:23 剑不飞 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 敌兵布阵Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 17672 Accepted Submission(s): 7704Problem DescriptionC国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Derek和他手下Tidy又开始忙乎了。A国在海岸线沿直线布置了N个工兵营地,Derek和Tidy的任务就是要监视这些工兵营地的活动情况。由于采取了某种先进的监测手段,所以每个工兵营地的人数C国都掌握的一清二楚,每个工兵营地的 阅读全文
posted @ 2012-08-05 18:54 剑不飞 阅读(158) 评论(0) 推荐(0) 编辑
摘要: Keywords SearchTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 18580 Accepted Submission(s): 6191Problem DescriptionIn the modern time, Search engine came into the life of everybody like Google, Baidu, etc.Wiskey also wants to bring this feature t 阅读全文
posted @ 2012-08-02 12:41 剑不飞 阅读(105) 评论(0) 推荐(0) 编辑
摘要: The ClocksIOI'94 - Day 2 Consider nine clocks arranged in a 3x3 array thusly: |-------| |-------| |-------| | | | | | | | |---O | |---O | | O | | | | | | | |-------| |-------| |-------| A ... 阅读全文
posted @ 2012-07-24 19:40 剑不飞 阅读(220) 评论(0) 推荐(0) 编辑
摘要: Number SequenceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 60820 Accepted Submission(s): 13862Problem DescriptionA number sequence is defined as follows:f(1) = 1, f(2) = 1, f(n) = (A * f(n - 1) + B * f(n - 2)) mod 7.Given A, B, and n, you are 阅读全文
posted @ 2012-07-23 19:58 剑不飞 阅读(125) 评论(0) 推荐(0) 编辑
摘要: N!Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 33314 Accepted Submission(s): 9234Problem Description Given an integer N(0 ≤ N ≤ 10000), your task is to calculate NInput One N in one line, process to the end of file.Output For each N, output N! 阅读全文
posted @ 2012-07-23 18:28 剑不飞 阅读(171) 评论(0) 推荐(0) 编辑