12176 - Bring Your Own Horse

All about problems in Volume 121. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

Post Reply
Repon kumar Roy
Learning poster
Posts: 96
Joined: Tue Apr 23, 2013 12:54 pm

Re: 12176 - Bring Your Own Horse

Post by Repon kumar Roy » Mon Nov 17, 2014 9:33 pm

Simple dijkastra and memorisation will simply give TLE .
Any better approach >>
Please :)

Repon kumar Roy
Learning poster
Posts: 96
Joined: Tue Apr 23, 2013 12:54 pm

Re: 12176 - Bring Your Own Horse

Post by Repon kumar Roy » Sat Jun 06, 2015 6:29 pm

AC with Kruskal MST algorithm ... :)

Post Reply

Return to “Volume 121 (12100-12199)”