![](https://img-blog.csdnimg.cn/20190927151132530.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
POJ
OJ刷题相关
Loganer
这个作者很懒,什么都没留下…
展开
-
POJ 2251 Dungeon Master
POJ 2251 Dungeon Master 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 to move one unit north, south, east, west, up or down. You ca原创 2020-06-05 11:56:59 · 3485 阅读 · 0 评论 -
POJ 3070 Fibonacci
Fibonacci In the Fibonacci integer sequence,F0= 0,F1= 1, andFn=Fn− 1+Fn− 2forn≥ 2. For example, the first ten terms of the Fibonacci sequence are:Description 0, 1, 1, 2, 3, 5, 8, 13, 2...原创 2019-11-12 15:48:28 · 107 阅读 · 0 评论 -
POJ 1664 放苹果
放苹果 把M个同样的苹果放在N个同样的盘子里,允许有的盘子空着不放,问共有多少种不同的分法?(用K表示)5,1,1和1,5,1 是同一种分法。Description Input 第一行是测试数据的数目t(0 <= t <= 20)。以下每行均包含二个整数M和N,以空格分开。1<=M,N<=10。 Output 对输入的每组数据M和N,用一行输出相应的K。 Sam...原创 2019-11-08 22:17:42 · 96 阅读 · 0 评论 -
POJ 1915 Knight Moves
Description Background Mr Somurolov, fabulous chess-gamer indeed, asserts that no one else but him can move knights from one position to another so fast. Can you beat him?The Problem Your task is to ...原创 2019-11-08 17:21:09 · 88 阅读 · 0 评论 -
POJ 3126 Prime Path
Prime Path Description The ministers of the cabinet were quite upset by the message from the Chief of Security stating that they would all have to change the four-digit room numbers on their offices...原创 2019-08-18 16:42:56 · 101 阅读 · 0 评论 -
POJ 1182 食物链
食物链 动物王国中有三类动物A,B,C,这三类动物的食物链构成了有趣的环形。A吃B, B吃C,C吃A。 Description 现有N个动物,以1-N编号。每个动物都是A,B,C中的一种,但是我们并不知道它到底是哪一种。 有人用两种说法对这N个动物所构成的食物链关系进行描述: 第一种说法是"1 X Y",表示X和Y是同类。 第二种说法是"2 X Y",表示X吃Y。 此人对N个动物,用...原创 2019-08-20 21:42:07 · 79 阅读 · 0 评论 -
POJ 2159 Ancient Cipher
Ancient Cipher Description Ancient Roman empire had a strong government system with various departments, including a secret service department. Important documents were sent between provinces and th...原创 2019-08-18 14:05:34 · 123 阅读 · 0 评论 -
POJ 1088 滑雪
AC代码:原创 2019-09-07 14:40:35 · 102 阅读 · 0 评论