
搜索
zhouying2018
这个作者很懒,什么都没留下…
展开
-
POJ - 2251 三维迷宫
B - Dungeon Master POJ - 2251 You 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...原创 2019-03-31 19:55:18 · 257 阅读 · 0 评论 -
POJ - 1321棋盘问题
在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆放方案C。 Input 输入含有多组测试数据。 每组数据的第一行是两个正整数,n k,用一个空格隔开,表示了将在一个n*n的矩阵内描述棋盘,以及摆放棋子的数目。 n <= 8 , k <= n 当为...原创 2019-03-31 20:21:17 · 119 阅读 · 0 评论 -
POJ - 3278抓到那头牛!
C - Catch That Cow POJ - 3278 Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N (0 ≤ N ≤ 100,000) on a number line and the cow ...原创 2019-03-31 20:34:57 · 239 阅读 · 0 评论 -
M - Find a way HDU - 2612
Pass a year learning in Hangzhou, yifenfei arrival hometown Ningbo at finally. Leave Ningbo one year, yifenfei have many people to meet. Especially a good friend Merceki. Yifenfei’s home is at the co...原创 2019-04-08 23:21:50 · 135 阅读 · 0 评论