BFS
cjmHK
努力做得更好
展开
-
Nightmare(HDU-1072)
Problem Description Ignatius had a nightmare last night. He found himself in a labyrinth with a time bomb on him. The labyrinth has an exit, Ignatius should get out of the labyrinth before the bomb ex...原创 2019-04-05 13:29:55 · 177 阅读 · 0 评论 -
Gap(HDU-1067)
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 suit of the card, and the second digit (from 1 to ...原创 2019-04-03 18:03:23 · 231 阅读 · 0 评论 -
Ignatius and the Princess I(HDU-1026)
原题地址 #include<iostream> #include<queue> #include<cstring> #include<vector> #include<sstream> using namespace std; int n,m; char a[105][105原创 2019-03-03 12:14:58 · 382 阅读 · 0 评论