help_BFS_problem!!

Правка en1, от adyyy, 2020-07-02 21:35:21

Hi I tried to solve this problem based on bfs https://mirror.codeforces.com/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

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский adyyy 2020-07-02 21:36:25 82
en1 Английский adyyy 2020-07-02 21:35:21 327 Initial revision (published)