help_BFS_problem!!

Revision en1, by adyyy, 2020-07-02 21:35:21

Hi I tried to solve this problem based on bfs https://codeforces.net/problemset/problem/198/B . Also I have implemented it well and it passes for 28 test cases butgives MEMORY LIMIT EXCEE. on test 29 . May be there is something to learn here . please anybody hep if you can figure out whats wrong . THANKS

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English adyyy 2020-07-02 21:36:25 82
en1 English adyyy 2020-07-02 21:35:21 327 Initial revision (published)