摘要:
题目:Dungeon MasterTime Limit:1000MSMemory Limit:65536KTotal Submissions:11707Accepted:4546DescriptionYou are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with rock. It takes one minute to move one unit north, south 阅读全文
posted @ 2012-07-25 20:11
萧若离
阅读(259)
评论(0)
推荐(0)
摘要:
题目:棋盘问题Time Limit : 2000/1000ms (Java/Other)Memory Limit : 20000/10000K (Java/Other)Total Submission(s) : 2Accepted Submission(s) : 2Problem Description在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆放方案C。Input输入含有多组测试数据。每组数据的第一行是两个正整数,n k,用一个空格隔开,表示了将在 阅读全文
posted @ 2012-07-25 16:08
萧若离
阅读(231)
评论(0)
推荐(0)
浙公网安备 33010602011771号