2015年8月6日

HDU 1698 Just a Hook(线段树lazy成段更新)

摘要: Just a Hook Problem Description In the game of DotA, Pudge’s meat hook is actually the most horrible thing for most of the heroes. The hook is made up 阅读全文

posted @ 2015-08-06 20:04 焰 阅读(162) 评论(0) 推荐(0) 编辑

ZOJ 1671 Walking ant(bfs)

摘要: Walking AntTime Limit: 2 Seconds Memory Limit: 65536 KBAnts are quite diligent. They sometimes build their nests beneath flagstones.Here, an ant is w... 阅读全文

posted @ 2015-08-06 16:15 焰 阅读(143) 评论(0) 推荐(0) 编辑

HDU 1728 逃离迷宫(bfs)

摘要: 逃离迷宫Problem Description 给定一个m × n (m行, n列)的迷宫,迷宫中有两个位置,gloria想从迷宫的一个位置走到另外一个位置,当然迷宫中有些地方是空地,gloria可以穿越,有些地方是障碍,她必须绕行,从迷宫的一个位置,只能走到与它相邻的4个位置中,当然在行走过程中... 阅读全文

posted @ 2015-08-06 16:10 焰 阅读(183) 评论(0) 推荐(0) 编辑

导航