Ra1nWarden / Online-Judges

My solutions to various online judge problems.
0 stars 0 forks source link

1601 TLE #53

Open Ra1nWarden opened 9 years ago

Ra1nWarden commented 9 years ago

double bfs TLE. too lazy to optimize now, possible improvements:

  1. build a graph to represent all open spaces
  2. do bfs with adjacency list of the new graph