NC14548-B-escape (bfs)

B - Escape   Problem solution  discuss  View submissions from others  My submission Title No.: NC14548 Time limit: 1 second for C / C + + and 2 seconds for other languages Space limitation: C/C++ 32768K, other languages 65536K 64bit IO Format: %lld Title Description   This is the fourth day when mengxiang000 and Ta ...

Posted by antisback on Wed, 24 Nov 2021 02:27:59 +0100

[template question] breadth first search (BFS)

1, Maze problem [Title Description] Given an n × A two-dimensional integer array of m is used to represent a maze. The array contains only 0 or 1, where 0 represents the road that can be taken and 1 represents the wall that cannot be passed. Initially, a person is located at the upper left corner (1,1), and it is known that the person ca ...

Posted by designerguy on Fri, 08 Oct 2021 03:41:11 +0200