Why my code is giving TLE???

Правка en1, от zeddie, 2020-10-22 19:41:57

I was solving last question (1433G - Reducing Delivery Cost) or last Div3 round, and I got TLE at test case 3

Here is a link to TLE solution by me : link

Here is link to ACCEPTED solution by icecuber : link

I even followed his code, so as to make different changes and make our code similar, but still all I have is TLE. Please HELP!!

Теги #tle, #help, #graph

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en4 Английский zeddie 2020-10-23 07:52:23 2
en3 Английский zeddie 2020-10-22 19:43:18 14
en2 Английский zeddie 2020-10-22 19:42:31 3
en1 Английский zeddie 2020-10-22 19:41:57 499 Initial revision (published)