Блог пользователя mahmoud_arafa

Автор mahmoud_arafa, 9 лет назад, По-английски

Hello everyone.

Here is the problem link.

Here is my code link.

BFS works right but my idea takes too long time to process. I tried to optimize it as much as possible but I couldn't optimize anymore. Any help?

Теги bfs
  • Проголосовать: нравится
  • -1
  • Проголосовать: не нравится

»
9 лет назад, # |
  Проголосовать: нравится +2 Проголосовать: не нравится

but this problem is much easier than you think :)) 10834744