[HDU] [1254] Sokoban

Problem Description

Loading...

Problem Analysis

Don’t overthink it when writing this kind of search problem… Once you’ve got the idea straight, just write it boldly -.-

dfs to check whether it’s reachable bfs to find the shortest distance

Loading...