摘要:
算法:BFS Joe works in a maze. Unfortunately, portions of the maze have caught on fire, and the owner of the maze neglected to create a fire escape pla... 阅读全文
摘要:
算法:广搜(BFS); Description You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or ma... 阅读全文
摘要:
算法:BFS Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N (0 ≤ N ≤ 100,000) ... 阅读全文
摘要:
算法:BFS The ministers of the cabinet were quite upset by the message from the Chief of Security stating that they would all have to change the four-d... 阅读全文
摘要:
算法:深搜(水题); Given a positive integer n, write a program to find out a nonzero multiple m of n whose decimal representation contains only the digits 0... 阅读全文