Coding Global Background
Coding Global

made a long program and it doesn't seem to work, BFS and OOP

Archived 2 years ago
5 messages
0 members
2 years ago
Open in Discord
N
Nut Crushed

the program is supposed to find the shortest path from S to E from a grid from my Input where the size is also my input, using the BFS method, the supposed Output is the reprinted grid with a traced path where the shortest path is here is the test case and expected output input: 15 15 ############### ##E.....####### #######......## #######......## ##......####### ##......####### #######......## #######......## ##......####### ##......####### #######......## #######......## ##......####### ##..........S## ############### expected output: ############### ##Exxxxx####### #######x.....## #######x.....## ##.....x####### ##.....x####### #######x.....## #######x.....## ##.....x####### ##.....x####### #######x.....## #######x.....## ##.....x####### ##.....xxxxxS## ###############

Replies (5)