Search found 4 matches

by rumman
Tue Dec 16, 2014 5:23 am
Forum: Volume 121 (12100-12199)
Topic: 12110 - Gargoyle
Replies: 2
Views: 2126

Re: 12110 - Gargoyle

brianfry713 wrote:0 -> 4, speed = 9, cost = 9 * 5
4 -> 1, speed = 3, cost = 3 * 2
4 -> 2, speed = 3, cost = 3 * 1
4 -> 3, speed = 3, cost = 3 * 2
Total cost = 60
Thanks. I missed the "identical" part :)
by rumman
Mon Dec 15, 2014 1:54 pm
Forum: Volume 121 (12100-12199)
Topic: 12110 - Gargoyle
Replies: 2
Views: 2126

Re: 12110 - Gargoyle

brianfry713 can you provide any idea about this problem? How the result of the sample input is 60.0?
by rumman
Mon Nov 04, 2013 11:45 am
Forum: Volume 102 (10200-10299)
Topic: 10246 - Asterix and Obelix
Replies: 29
Views: 14792

Re: 10246 - Asterix and Obelix

brianfry713 wrote:Are you asking about the correct problem number rumman?
I mean
/*
7 8 5
2 3 5 15 4 4 6
1 2 20
1 4 20
1 5 50
2 3 10
3 4 10
3 5 10
4 5 15
6 7 10
1 5
1 6
5 1
3 1
6 7
*/
in this test case why the answer is 45 for query "1 5".
But I figure it out and solved it. BTW thanks for your response. :)
by rumman
Sun Nov 04, 2012 2:15 pm
Forum: Volume 102 (10200-10299)
Topic: 10246 - Asterix and Obelix
Replies: 29
Views: 14792

Re: 10246 - Asterix and Obelix

Can any one explain me the sample 1st test case of this problem?Why the answer for "1 5" is 45? :)

Go to advanced search