
专题二 搜索进阶
[kuangbin带你飞] 专题二 搜索进阶
白雪黑夜我不停歇
这个作者很懒,什么都没留下…
展开
-
HDU 3001 Travelling
题目链接 状压dp入门视频 Problem Description After coding so many days,Mr Acmer wants to have a good rest.So travelling is the best choice!He has decided to visit n cities(he insists on seeing all the cities!And...原创 2020-03-20 13:35:15 · 102 阅读 · 0 评论 -
HDU 2102 A计划
题目链接 Problem Description 可怜的公主在一次次被魔王掳走一次次被骑士们救回来之后,而今,不幸的她再一次面临生命的考验。魔王已经发出消息说将在T时刻吃掉公主,因为他听信谣言说吃公主的肉也能长生不老。年迈的国王正是心急如焚,告招天下勇士来拯救公主。不过公主早已习以为常,她深信智勇的骑士LJ肯定能将她救出。 现据密探所报,公主被关在一个两层的迷宫里,迷宫的入口是S(0,0,0),公...原创 2020-03-18 15:12:56 · 116 阅读 · 0 评论 -
HDU 1067 Gap
题目链接 char = int 小数字直接映射字符串 感谢[kuangbin]的专题,学到了许多 Problem Description Let’s play a card game called Gap. You have 28 cards labeled with two-digit numbers. The first digit (from 1 to 4) represents the ...原创 2020-03-17 21:19:19 · 169 阅读 · 0 评论 -
HDU 3085 Nightmare Ⅱ
题目链接 Problem Description Last night, little erriyue had a horrible nightmare. He dreamed that he and his girl friend were trapped in a big maze separately. More terribly, there are two ghosts in the m...原创 2020-03-15 17:34:55 · 122 阅读 · 0 评论 -
ZOJ 2477 Magic Cube
This is a very popular game for children. In this game, there’s a cube, which consists of 3 * 3 * 3 small cubes. We can unwrap the cube, it will become like this w w w w w w w w w r r r...原创 2020-03-14 00:19:54 · 232 阅读 · 0 评论 -
HDU 1560 sequence
题目链接 Problem Description The twenty-first century is a biology-technology developing century. We know that a gene is made of DNA. The nucleotide bases from which DNA is built are A(adenine), C(cytosin...原创 2020-03-13 14:51:02 · 149 阅读 · 0 评论 -
HDU 3533 Escape
题目链接 Problem Description The students of the HEU are maneuvering for their military training. The red army and the blue army are at war today. The blue army finds that Little A is the spy of the red a...原创 2020-03-09 16:58:16 · 162 阅读 · 0 评论 -
HDU 2181 哈密顿绕行世界问题
题目链接 Problem Description 一个规则的实心十二面体,它的 20个顶点标出世界著名的20个城市,你从一个城市出发经过每个城市刚好一次后回到出发的城市。 Input 前20行的第i行有3个数,表示与第i个城市相邻的3个城市.第20行以后每行有1个数m,m<=20,m>=1.m=0退出. Output 输出从第m个城市出发经过每个城市1次又回到m的所有路线,如有多条路线...原创 2020-03-09 14:34:32 · 110 阅读 · 0 评论 -
HDU 3567 Eight II
题目链接 太太太棒了,又又又学到了许多 Problem Description Eight-puzzle, which is also called “Nine grids”, comes from an old game. In this game, you are given a 3 by 3 board and 8 tiles. The tiles are numbered from 1 ...原创 2020-03-08 21:54:51 · 152 阅读 · 0 评论 -
HDU 1043 Eight
题目链接 康托展开与逆使用 题目思路演化过程 题目代码演化过程 感谢[kuangbin]的专题,太棒了,学到了许多 Problem Description The 15-puzzle has been around for over 100 years; even if you don’t know it by that name, you’ve seen it. It is construct...原创 2020-03-07 17:28:37 · 197 阅读 · 0 评论