|
|
вернуться в форумwa#12 I solve this task with DP, but wa#12... Please give me some useful tests. Thanks. wa#12 to Admins!!! 2 2 1 1 result empty line or zero? Re: wa#12 I've got wa#12 too :( Re: wa#12 Also have WA #12 (now). The test above is incorrect (weight of not full set is strongly less than weight of full set of cards by condition) Re: wa#12 I lost this fragment: if(f[i][1-page]==-1) f[i][page]=-1; or if(f[i][j-1]==-1) f[i][j]=-1; Re: wa#12 Please give me (show me) test#12. Thanks Edited by author 04.07.2009 01:20 Re: wa#12 Послано r1d1 20 фев 2010 16:57 12 6 1 4 3 1 2 5 answer: -1 |
|
|