Title |
User |
Message |
Date Posted |
Re: Test case #5 seems to be missing the 20th pair of data. |
ChristerNilsson |
I guess the problem is related to cin as it disappeared when I switched to scan(). |
Aug 12, 2014 - 9:16:32 pm UTC |
Re: Test case #5 seems to be missing the 20th pair of data. |
xiaowuc1 |
I got AC on this problem with a solution a few months ago that terminates if there is insufficient input, and I just confirmed that nothing looks fishy about the input data. |
Aug 12, 2014 - 4:21:45 pm UTC |
Re: Test case #5 seems to be missing the 20th pair of data. |
awaykened |
seems to be working fine with me |
Aug 12, 2014 - 12:47:15 pm UTC |
Test case #5 seems to be missing the 20th pair of data. |
ChristerNilsson |
|
Aug 12, 2014 - 11:22:16 am UTC |
Re: Re: *sigh* |
javic |
... |
Nov 07, 2009 - 1:03:19 am UTC |
Re: Re: *sigh* |
bbi5291 |
You're going to get banned if you keep doing this. |
Oct 25, 2009 - 3:39:28 am UTC |
Re: Re: *sigh* |
javic |
or i mean, resubmit FTW xD |
Oct 25, 2009 - 3:13:16 am UTC |
Re: *sigh* |
javic |
LOL C FTW |
Oct 25, 2009 - 3:11:58 am UTC |
*sigh* |
dr3w |
so it's impossible to beat Hanson on this one I guess. |
Sep 28, 2009 - 7:55:50 pm UTC |
Hint |
SourSpinach |
This is a basic example of a "Knapsack Problem". Think of breaking this down into the subproblem "what's the maximum number of points I can get in X hours, using some set of the first Y problems". |
Feb 09, 2009 - 2:46:56 am UTC |