Am I stupid or sth?

Revision en2, by HowToLearnML, 2024-03-13 15:16:08

So I tried problem G on the last div3 contest, my solution seems to work with small test case but then gave me an TLE with bigger test case

My submission : https://mirror.codeforces.com/contest/1941/submission/251046117

Problem's statement : https://mirror.codeforces.com/contest/1941/problem/G

UPD : sorry my dijkstra implementation was wrong :v

Tags #div3, #problem g, #newbie, #help

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English HowToLearnML 2024-03-13 15:16:08 55 Tiny change: 'blem/G\n\n' -> 'blem/G\n\nUPD : sorry my dijkstra implementation was wrong :v\n\n'
en1 English HowToLearnML 2024-03-13 10:01:34 311 Initial revision (published)