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

Нищий Наглец I need some help plz HELP me! [4] // Problem 1244. Gentlemen 5 Aug 2005 23:00

What output?
150
4
50
50
50
50



and this

200
4
50
50
50
50
CD Re: I need some help plz HELP me! [1] // Problem 1244. Gentlemen 7 Aug 2005 18:11
My AC program outputs -1 in both cases
xiaomengxian Re: I need some help plz HELP me! // Problem 1244. Gentlemen 12 Jan 2006 11:46
Why output -1 for the second test???
shrek Re: I need some help plz HELP me! // Problem 1244. Gentlemen 1 Dec 2006 19:03
My output for the first one is -1 and for the second one is an empty line.
manishmmulani Re: I need some help plz HELP me! // Problem 1244. Gentlemen 31 Dec 2007 20:13
second test is not valid.
it's given that some cards are missing... which means there is atleast one card missing