上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页
摘要: Description Angel was caught by the MOLIGPY! He was put in prison by Moligpy. The prison is described as a N * M (N, M <= 200) matrix. There are WALLs 阅读全文
posted @ 2016-07-29 18:26 野小子& 阅读(255) 评论(0) 推荐(0) 编辑
摘要: Description 在N*N的方格棋盘放置了N个皇后,使得它们不相互攻击(即任意2个皇后不允许处在同一排,同一列,也不允许处在与棋盘边框成45角的斜线上。 你的任务是,对于给定的N,求出有多少种合法的放置方法。 Description 在N*N的方格棋盘放置了N个皇后,使得它们不相互攻击(即任意 阅读全文
posted @ 2016-07-29 11:03 野小子& 阅读(543) 评论(0) 推荐(0) 编辑
摘要: Description The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangula 阅读全文
posted @ 2016-07-28 21:09 野小子& 阅读(263) 评论(0) 推荐(0) 编辑
摘要: Description 呃......变形课上Harry碰到了一点小麻烦,因为他并不像Hermione那样能够记住所有的咒语而随意的将一个棒球变成刺猬什么的,但是他发现了变形咒语的一个统一规律:如果咒语是以a开头b结尾的一个单词,那么它的作用就恰好是使A物体变成B物体. Harry已经将他所会的所有 阅读全文
posted @ 2016-07-28 18:06 野小子& 阅读(218) 评论(0) 推荐(0) 编辑
摘要: Description Farmer John's farm was flooded in the most recent storm, a fact only aggravated by the information that his cows are deathly afraid of wat 阅读全文
posted @ 2016-07-28 15:38 野小子& 阅读(145) 评论(0) 推荐(0) 编辑
摘要: Description There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From 阅读全文
posted @ 2016-07-28 14:32 野小子& 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 描述 这有一个迷宫,有0~8行和0~8列: 1,1,1,1,1,1,1,1,1 1,0,0,1,0,0,1,0,1 1,0,0,1,1,0,0,0,1 1,0,1,0,1,1,0,1,1 1,0,0,0,0,1,0,0,1 1,1,0,1,0,1,0,0,1 1,1,0,1,0,1,0,0,1 1, 阅读全文
posted @ 2016-07-28 11:05 野小子& 阅读(167) 评论(0) 推荐(0) 编辑
摘要: Description There are n kangaroos with pockets. Each kangaroo has a size (integer number). A kangaroo can go into another kangaroo's pocket if and onl 阅读全文
posted @ 2016-07-27 21:46 野小子& 阅读(405) 评论(0) 推荐(0) 编辑
摘要: Description 有一台机器,并且给你这台机器的工作表,工作表上有n个任务,机器在ti时间执行第i个任务,1秒即可完成1个任务。 有m个询问,每个询问有一个数字q,表示如果在q时间有一个工作表之外的任务请求,请计算何时这个任务才能被执行。 机器总是按照工作表执行,当机器空闲时立即执行工作表之外 阅读全文
posted @ 2016-07-27 19:57 野小子& 阅读(187) 评论(0) 推荐(0) 编辑
摘要: Description New Year is coming! Our big boss Wine93 will distribute some “Red Package”, just like Alipay and Wechat. Wine93 has m yuan, he decides to 阅读全文
posted @ 2016-07-27 17:41 野小子& 阅读(234) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页