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://mirror.codeforces.com/problemset/problem/1613/E This is my solution-https://mirror.codeforces.com/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)