aryan_cp's blog

By aryan_cp, history, 5 weeks 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

»
5 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by aryan_cp (previous revision, new revision, compare).

»
5 weeks 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
»
5 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

use BFS