
搜索
阿波阿波
这个作者很懒,什么都没留下…
展开
-
poj1324 Holedox Moving
参考:http://www.cnblogs.com/kedebug/archive/2013/03/26/2983143.html 大致题意: 给定一个地图和一条蛇,问蛇需要最少走多少步才能走到出口(1,1),如果无法到达则-1 大体思路: 因为蛇最多有7个身体那么每个身体都有上下左右4种状态(00-11二进制),可以用2^(7*2) = 1 后一个身体的状态可以根据前一个身体决定, 有原创 2014-04-23 16:20:52 · 1160 阅读 · 0 评论 -
poj 1691 Painting A Board
参考:http://blog.youkuaiyun.com/tsaid/article/details/6841823原创 2014-04-23 16:24:59 · 812 阅读 · 0 评论 -
poj 2531 Network Saboteur
Network Saboteur Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 8822 Accepted: 4106 Description A university network is composed of N computers. System ad原创 2014-04-24 14:20:37 · 887 阅读 · 0 评论