ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1244. Gentlemen

Show all messages Hide all messages

wa#12 Crash_access_violation 15 Mar 2009 14:09
I solve this task with DP, but wa#12... Please give me some useful tests. Thanks.
wa#12 Crash_access_violation 15 Mar 2009 14:12
to Admins!!!
2
2
1
1

result empty line or zero?
Re: wa#12 zbsGuy 30 Apr 2009 14:46
I've got wa#12 too :(
Re: wa#12 Partisan 18 Jun 2009 02:49
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 Partisan 18 Jun 2009 02:54
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 zbsGuy 4 Jul 2009 01:06
Please give me (show me) test#12. Thanks

Edited by author 04.07.2009 01:20
Re: wa#12 r1d1 20 Feb 2010 16:57
12
6
1
4
3
1
2
5
answer: -1