2018年8月1日

D - 青铜一 HDU - 1429 胜利大逃亡(续) BFS

摘要: D - 青铜一 HDU - 1429 Ignatius再次被魔王抓走了(搞不懂他咋这么讨魔王喜欢)…… 这次魔王汲取了上次的教训,把Ignatius关在一个n*m的地牢里,并在地牢的某些地方安装了带锁的门,钥匙藏在地牢另外的某些地方。刚开始Ignatius被关在(sx... 阅读全文

posted @ 2018-08-01 14:04 一零七 阅读(97) 评论(0) 推荐(0) 编辑

C - 青铜五 HDU - 2717 Catch That Cow BFS

摘要: C - 青铜五 HDU - 2717 Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a ... 阅读全文

posted @ 2018-08-01 12:40 一零七 阅读(113) 评论(0) 推荐(0) 编辑

B - 小学生 POJ - 3126 Prime Path

摘要: B - 小学生 POJ - 3126 The ministers of the cabinet were quite upset by the message from the Chief of Security stating that they would all... 阅读全文

posted @ 2018-08-01 12:34 一零七 阅读(125) 评论(0) 推荐(0) 编辑

A - 刚入坑 ZOJ - 1709 Oil Deposits BFS

摘要: A - 刚入坑 ZOJ - 1709 The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works w... 阅读全文

posted @ 2018-08-01 12:29 一零七 阅读(155) 评论(0) 推荐(0) 编辑

I - 剪枝 0。O HDU - 1455 Sticks DFS

摘要: I - 剪枝 0。O HDU - 1455 George took sticks of the same length and cut them randomly until all parts became at most 50 units long. Now he... 阅读全文

posted @ 2018-08-01 12:20 一零七 阅读(82) 评论(0) 推荐(0) 编辑

H - 连通分量 POJ - 3620 Avoid The Lakes DFS水题

摘要: H - 连通分量 POJ - 3620 Farmer John's farm was flooded in the most recent storm, a fact only aggravated by the information that his cows a... 阅读全文

posted @ 2018-08-01 11:50 一零七 阅读(103) 评论(0) 推荐(0) 编辑

F - DFS枚举 CSU - 2087: Tragedy Words

摘要: F - DFS枚举 CSU - 2087 As is known to all, Wells doesn't have a good command of English. As a result, some unfamiliar words, which may c... 阅读全文

posted @ 2018-08-01 11:40 一零七 阅读(123) 评论(0) 推荐(0) 编辑

D - Prime Ring Problem HDU - 1016 DFS水题

摘要: D - Prime Ring Problem HDU - 1016 A ring is compose of n circles as shown in diagram. Put natural number 1, 2, ..., n into each circle... 阅读全文

posted @ 2018-08-01 11:27 一零七 阅读(166) 评论(0) 推荐(0) 编辑

A - 后序遍历 HihoCoder - 1049

摘要: A - 后序遍历 HihoCoder - 1049 描述在参与过了美食节之后,小Hi和小Ho在别的地方又玩耍了一阵子,在这个过程中,小Ho得到了一个非常有意思的玩具——一棵由小球和木棍连接起来的二叉树!小Ho对这棵二叉树爱不释手,于是给它的每一个节点都标记了一个标号—... 阅读全文

posted @ 2018-08-01 11:10 一零七 阅读(124) 评论(0) 推荐(0) 编辑

E - ( ;´Д`) URAL - 1081 Binary Lexicographic Sequence 递归

摘要: E - ( ;´Д`) URAL - 1081 Consider all the sequences with length (0 #include #include #include #include typedef long long LL;using name... 阅读全文

posted @ 2018-08-01 10:49 一零七 阅读(117) 评论(0) 推荐(0) 编辑

导航