
专题二 搜索进阶
[kuangbin带你飞] 专题二 搜索进阶
白雪黑夜我不停歇
这个作者很懒,什么都没留下…
展开
-
HDU 3001 Travelling
题目链接状压dp入门视频Problem DescriptionAfter 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 · 108 阅读 · 0 评论 -
HDU 2102 A计划
题目链接Problem Description可怜的公主在一次次被魔王掳走一次次被骑士们救回来之后,而今,不幸的她再一次面临生命的考验。魔王已经发出消息说将在T时刻吃掉公主,因为他听信谣言说吃公主的肉也能长生不老。年迈的国王正是心急如焚,告招天下勇士来拯救公主。不过公主早已习以为常,她深信智勇的骑士LJ肯定能将她救出。现据密探所报,公主被关在一个两层的迷宫里,迷宫的入口是S(0,0,0),公...原创 2020-03-18 15:12:56 · 119 阅读 · 0 评论 -
HDU 1067 Gap
题目链接char = int小数字直接映射字符串感谢[kuangbin]的专题,学到了许多Problem DescriptionLet’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 · 175 阅读 · 0 评论 -
HDU 3085 Nightmare Ⅱ
题目链接Problem DescriptionLast 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 · 125 阅读 · 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 wr r r...原创 2020-03-14 00:19:54 · 239 阅读 · 0 评论 -
HDU 1560 sequence
题目链接Problem DescriptionThe 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 · 154 阅读 · 0 评论 -
HDU 3533 Escape
题目链接Problem DescriptionThe 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 · 171 阅读 · 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 · 113 阅读 · 0 评论 -
HDU 3567 Eight II
题目链接太太太棒了,又又又学到了许多Problem DescriptionEight-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 · 159 阅读 · 0 评论 -
HDU 1043 Eight
题目链接康托展开与逆使用题目思路演化过程题目代码演化过程感谢[kuangbin]的专题,太棒了,学到了许多Problem DescriptionThe 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 · 202 阅读 · 0 评论