Q10377: Maze Traversal

// Accepted in o.ooo second

Q10310: Dog and Gopher

// Accepted
// If the gopher and the dog reach the hole at the same time, it should be interpreted as escape.