Yen_Nhi's blog

By Yen_Nhi, history, 8 months ago, In English
  • Vote: I like it
  • 0
  • Vote: I do not like it

By Yen_Nhi, history, 8 months ago, In English

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://codeforces.net/contest/1941/submission/251046117

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

UPD : sorry my dijkstra implementation was wrong :v

Full text and comments »

  • Vote: I like it
  • -8
  • Vote: I do not like it