|
|
вернуться в форумI solve this task with DP, but wa#12... Please give me some useful tests. Thanks. to Admins!!! 2 2 1 1 result empty line or zero? 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) 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; Please give me (show me) test#12. Thanks Edited by author 04.07.2009 01:20 |
|
|