I was solving the last question (1433G - Reducing Delivery Cost) of the last Div3 round, and I got TLE at test case 3
Here is a link to the 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!!