Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

Please Help in following problem.

Revision en1, by forget_it, 2020-03-15 12:02:32

please help me in following problem , i tried to read its analysis ,but was unable to understand its optimised solution . I looked for various people solution ,they had used bfs, but i am unable to interpret that too.

Just give me the way ,through which i should approach this problem .

Google Kickstart 2019 round A . Problem 2

Tags #competitive, #c++, #doubt, #google

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English forget_it 2020-03-15 12:02:32 464 Initial revision (published)