Search found 3 matches

by Neo_1234
Fri Nov 28, 2014 4:55 pm
Forum: Volume 103 (10300-10399)
Topic: 10356 - Rough Roads
Replies: 29
Views: 14879

Re: 10356 - Rough Roads

got wa 8 times :( someone please help ! my approach: i attach one extra information(in my code "flag") to every node : how it get into this node? if flag is 1 then he came via cycle if 0 then he came by carrying cycle on his back.. then i run dijkstra algorithm.. i check all test cases i found and m...
by Neo_1234
Mon Jul 14, 2014 7:54 pm
Forum: Volume 11 (1100-1199)
Topic: 1196 - Tiling Up Blocks
Replies: 10
Views: 3684

Re: 1196 - Tiling Up Blocks WA

GOT AC ..
MANY MANY THANKS TO BRIANFRY :D
by Neo_1234
Sun Apr 13, 2014 8:08 am
Forum: Volume 110 (11000-11099)
Topic: 11003 - Boxes
Replies: 29
Views: 16503

Re: 11003 - Boxes

can anyone please help me finding what's wrong in my code ? i am getting wa.
i used simple knapsack approach to find the maximum number of boxes.
it has passed all the inputs given here.
please help :cry:

Code: Select all

got ac.  :D 
a silly mistake.
can be solved easily by simple 0-1 knapsack.

Go to advanced search