|
|
back to boardtest #5 Posted by Flybird 21 Feb 2010 04:02 i tryed all possible tests but i am still getting mistake on the fifth test. can somebody give me some tricky tests to help me? Re: test #5 i have got this test too=( Re: test #5 in this problem,sorting and greedy approach works.after sorting given card outcomes, we must iterate through these numbers and serve that card which has smallest possible number.using this,we make more chance to the next card to serve for the next outcome, i.e outcomes are ordered. |
|
|