can somebody explain why my solution got TLE on some case: https://cses.fi/problemset/task/1670/

Правка en1, от thaonguyendethuongvai, 2024-12-24 01:41:03

my solution and the AC solution both use unordered_set and the same way in bfs my sol : https://ideone.com/yKneg6 AC sol : https://ideone.com/3TBB8n thanks in advance!

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский thaonguyendethuongvai 2024-12-24 01:41:03 268 Initial revision (published)