ผลต่างระหว่างรุ่นของ "01204212/homework/maze"

จาก Theory Wiki
ไปยังการนำทาง ไปยังการค้นหา
(หน้าที่ถูกสร้างด้วย ': ''This is part of 01204212'' In this homework you will write a maze solver. The following is a sample maze. You start at O and...')
(ไม่แตกต่าง)

รุ่นแก้ไขเมื่อ 04:02, 5 ธันวาคม 2559

This is part of 01204212

In this homework you will write a maze solver. The following is a sample maze. You start at O and your exit is at X.

#################
#O........#.....#
#########.#######
#...#...#.#.....#
#.#.#.#.#.##.##.#
#.#...#......#..#
#.#############.#
#..#....#.......#
#.##.#.##.#.#####
#....#....#....X#
#################

The output should be:

#################
#O>>>>>>>v#.....#
#########v#######
#...#...#v#.>>>v#
#.#.#.#.#v##^##v#
#.#...#..>>>^#.v#
#.#############v#
#..#....#..v<<<<#
#.##.#.##.#v#####
#....#....#>>>>X#
#################