aryan_cp's blog

By aryan_cp, history, 4 years ago, In English

Hello CodeForces can any body help me as to how to solve this problem? link : Problem Link I wanted help in Problem B — Horse Routes (when translated in English ) Thanks!

  • Vote: I like it
  • +1
  • Vote: I do not like it

| Write comment?
»
4 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Hey just do the usual bfs on the grid that should be good. I got that accepted check out the code for assistance there's nothing much to explain, it's quiet neat.

AC_CODE
»
4 years ago, # |
  Vote: I like it 0 Vote: I do not like it

use BFS