上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页
摘要: 棋盘问题Time Limit : 2000/1000ms (Java/Other)Memory Limit : 20000/10000K (Java/Other)Total Submission(s) : 48Accepted Submission(s) : 22Problem Description在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆放方案C。Input输入含有多组测试数据。每组数据的第一行是两个正整数,n k,用一个空格隔开,表示了将在一 阅读全文
posted @ 2013-10-12 17:03 秋心无波 阅读(250) 评论(0) 推荐(0) 编辑
摘要: Curling 2.0Time Limit : 2000/1000ms (Java/Other)Memory Limit : 131072/65536K (Java/Other)Total Submission(s) : 30Accepted Submission(s) : 16Problem DescriptionOn Planet MM-21, after their Olympic games this year, curling is getting popular. But the rules are somewhat different from ours. The game is 阅读全文
posted @ 2013-10-12 11:34 秋心无波 阅读(453) 评论(0) 推荐(0) 编辑
摘要: SudokuTime Limit : 4000/2000ms (Java/Other)Memory Limit : 131072/65536K (Java/Other)Total Submission(s) : 15Accepted Submission(s) : 12Special JudgeProblem DescriptionSudoku is a very simple task. A square table with 9 rows and 9 columns is divided to 9 smaller squares 3x3 as shown on the Figure. In 阅读全文
posted @ 2013-10-09 21:38 秋心无波 阅读(246) 评论(0) 推荐(0) 编辑
摘要: A Knight's JourneyTime Limit : 2000/1000ms (Java/Other)Memory Limit : 131072/65536K (Java/Other)Total Submission(s) : 66Accepted Submission(s) : 27Problem DescriptionBackgroundThe knight is getting bored of seeing the same black and white squares again and again and has decided to make a journey 阅读全文
posted @ 2013-10-09 19:08 秋心无波 阅读(362) 评论(0) 推荐(0) 编辑
摘要: 1104. Don’t Ask Woman about Her AgeTime limit: 1.0 secondMemory limit: 64 MBMrs Little likes digits most of all. Every year she tries to make the best number of the year. She tries to become more and more intelligent and every year studies a new digit. And the number she makes is written in numeric 阅读全文
posted @ 2013-10-08 18:19 秋心无波 阅读(354) 评论(0) 推荐(0) 编辑
摘要: G -Zombie’s Treasure ChestTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionSome brave warriors come to a lost village. They are very lucky and find a lot of treasures and a big treasure chest, but with angry zombies.The warriors are so brave that they deci 阅读全文
posted @ 2013-10-07 12:13 秋心无波 阅读(254) 评论(0) 推荐(0) 编辑
摘要: C -I love sneakers!Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionAfter months of hard working, Iserlohn finally wins awesome amount of scholarship. As a great zealot of sneakers, he decides to spend all his money on them in a sneaker store.There are sev 阅读全文
posted @ 2013-10-06 16:49 秋心无波 阅读(230) 评论(0) 推荐(0) 编辑
摘要: B -ACboy needs your helpTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionACboy has N courses this term, and he plans to spend at most M days on study.Of course,the profit he will gain from different course depending on the days he spend on it.How to arrang 阅读全文
posted @ 2013-10-06 11:06 秋心无波 阅读(218) 评论(0) 推荐(0) 编辑
摘要: K -BalanceTime Limit:1000MSMemory Limit:30000KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionGigel has a strange "balance" and he wants to poise it. Actually, the device is different from any other ordinary balance.It orders two arms of negligible weight and each arm's length 阅读全文
posted @ 2013-10-06 09:42 秋心无波 阅读(337) 评论(0) 推荐(0) 编辑
摘要: A -Space ElevatorTime Limit:1000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionThe cows are going to space! They plan to achieve orbit by building a sort of space elevator: a giant tower of blocks. They have K (1 2 #include 3 #include 4 #include 5 #include 6 #include 7 阅读全文
posted @ 2013-10-05 21:34 秋心无波 阅读(659) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页