If anyone could help me as to why the way I use BFS always ends up getting TLE.

Revision en1, by 100mil, 2021-12-11 12:05:18

I was solving this problem-https://codeforces.me/problemset/problem/1613/E This is my solution-https://codeforces.me/contest/1613/submission/138713743 Can pls someone tell me what is wrong here.

Tags bfs

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English 100mil 2021-12-11 12:05:18 277 Initial revision (published)