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

Правка en1, от 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.

Теги bfs

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский 100mil 2021-12-11 12:05:18 277 Initial revision (published)