ACM__搜索
文章平均质量分 72
tjial
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
HDU-1181 变形课
HDU 1181 变形课 呃......变形课上Harry碰到了一点小麻烦,因为他并不像Hermione那样能够记住所有的咒语而随意的将一个棒球变成刺猬什么的,但是他发现了变形咒语的一个统一规律:如果咒语是以a开头b结尾的一个单词,那么它的作用就恰好是使A物体变成B物体. Harry已经将他所会的所有咒语都列成了一个表,他想让你帮忙计算一下他是否能完成老师的作业,将一个B(ball)变成一个M(Mouse)...原创 2018-03-28 19:50:38 · 858 阅读 · 0 评论 -
HDU-1175 连连看
HDU 1175 连连看 “连连看”相信很多人都玩过。没玩过也没关系,下面我给大家介绍一下游戏规则:在一个棋盘中,放了很多的棋子。如果某两个相同的棋子,可以通过一条线连起来(这...原创 2018-03-26 21:25:58 · 1004 阅读 · 0 评论 -
HDU-1241 Oil Deposits
HDU 1241 Oil Deposits Time The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular region of land at a time, and creates a...原创 2017-12-06 23:28:25 · 776 阅读 · 0 评论 -
HDU-1242 Rescue
HDU 1242 Rescue 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, ROADs, and GUARDs in the prison...原创 2018-01-03 22:02:17 · 848 阅读 · 0 评论 -
HDU-1312 Red and Black
HDU 1312 Red and Black 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 a tile, he can move to one of four adjacent...原创 2018-01-23 20:22:46 · 721 阅读 · 0 评论 -
HDU-1372 Knight Moves
HDU 1372 Knight Moves A friend of you is doing research on the Traveling Knight Problem (TKP) where you are to find the shortest closed tour of knight moves that visits each square of a given set of n...原创 2018-01-24 21:32:39 · 911 阅读 · 0 评论 -
HDU-2717 Catch That Cow
HDU 2717 Catch That Cow 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 is at a...原创 2018-01-25 20:32:12 · 871 阅读 · 0 评论 -
HDU-1253 胜利大逃亡
HDU 1241 胜利大逃亡 Ignatius被魔王抓走了,有一天魔王出差去了,这可是Ignatius逃亡的好机会. 魔王住在一个城堡里,城堡是一个A*B*C的立方体,可以被表示成A个B*C的矩阵,刚开始Ignatius被关在(0,0,0)的位置,离开城堡的门在(A-1,B-1,C-1)的位置,现在知道魔王将在T分钟后回到城堡,Ignatius每分钟能从一个坐标走到相邻的六个坐标中的其中一个.现在给你城堡的地...原创 2018-03-19 20:57:26 · 824 阅读 · 0 评论 -
HDU-2553 N皇后问题
HDU 2553 N皇后问题 在N*N的方格棋盘放置了N个皇后,使得它们不相互攻击(即任意2个皇后不允许处在同一排,同一列,也不允许处在与棋盘边框成45角的斜线上。 你的任务是,对于给定的N,求出有多少种合法的放置方法...原创 2018-03-20 20:06:42 · 1373 阅读 · 0 评论 -
HDU-2536 统计问题
HDU 2536 统计问题 在一无限大的二维平面中,我们做如下假设: 1、 每次只能移动一格; 2、 不能向后走(假设你的目的地是“向上”,那么你可以向左走,可以向右走,也可以向上走,但是不可以向下走); 3、 走过的格子立即塌陷无法再走第二次; 求走n步不同的方案数(2种走法只要有一步不一样,即被认为是不同的方案)...原创 2018-03-20 20:31:55 · 1905 阅读 · 0 评论 -
HDU-1495 非常可乐
HDU 1495 非常可乐 大家一定觉的运动以后喝可乐是一件很惬意的事情,但是seeyou却不这么认为。因为每次当seeyou买了可乐以后,阿牛就要求和seeyou一起分享这一瓶可乐,而且一定要喝的和seeyou一样多。但seeyou的手中只有两个杯子,它们的容量分别是N 毫升和M 毫升 可乐的体积为S (S<101)毫升 (正好装满一瓶) ,它们三个之间可以相互倒可...原创 2018-03-21 19:53:38 · 1213 阅读 · 0 评论 -
HDU-1180 诡异的楼梯
HDU 1180 诡异的楼梯 Hogwarts正式开学以后,Harry发现在Hogwarts里,某些楼梯并不是静止不动的,相反,他们每隔一分钟就变动一次方向. 比如下面的例子里,一开始楼梯在竖直方向,一分钟以后它移动到了水平方向,再过一分钟它又回到了竖直方向.Harry发现对他来说很难找到能使得他最快到达目的地的路线,这时Ron(Harry最好的朋友)告诉Harry正好有一个魔法道具可以帮助他寻找这样的路线...原创 2018-03-22 19:46:13 · 803 阅读 · 0 评论 -
HDU-1728 逃离迷宫
HDU-1728 逃离迷宫 Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Description 给定一个m × n (m行, n列)的迷宫,迷宫中有两个位置,gloria想从迷宫的一个位置走到另外一个位置,当然迷宫中有些地方是空地,gloria可以...原创 2018-03-23 20:54:14 · 856 阅读 · 0 评论 -
HDU-1429 胜利大逃亡(续)
HDU 1429 胜利大逃亡(续) Ignatius再次被魔王抓走了(搞不懂他咋这么讨魔王喜欢)…… 这次魔王汲取了上次的教训,把Ignatius关在一个n*m的地牢里,并在地牢的某些地方安装了带锁的门,钥匙藏在地牢另外的某些地方。刚开始Ignatius被关在(sx,sy)的位置,离开地牢的门在(ex,ey)的位置。Ignatius每分钟只能从一个坐标走到相邻四个坐标中的其中一个。魔王每t分钟回地牢视察一次...原创 2018-03-27 19:42:25 · 1267 阅读 · 0 评论 -
HDU-1015 Safecracker
HDU 1015 Safecracker === Op tech briefing, 2002/11/02 06:42 CST === "The item is locked in a Klein safe behind a painting in the second-floor library. Klein safes are extremely rare; most of them, along...原创 2018-04-17 17:05:52 · 925 阅读 · 0 评论
分享