Why the former one runs slower than the latter?

Правка en1, от A_Little_BadBoy, 2025-02-22 11:35:34

Recently I've been struggling with 2057E1 - Another Exercise on Graphs (Easy Version). The former solution (307244066) runs in 2400ms, yet the latter one (307245861) finishes the task in only 800ms. I'm really confused by this since the implementation of them are just the same. Could anyone help? Thanks!

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский A_Little_BadBoy 2025-02-22 11:35:34 345 Initial revision (published)