|
|
back to boardOne of my solutions can't pass this test, but gets AC. Test: 3 2 2 1 2 2 3 2 2 4 1 0 4 3 0 Wrong Answer: 0 Correct Answer: 2 8 Answer 0 is correct, because all freind's money is spent to tickets!!! And they have not money for a party! And they even will not buy alcohol and cigaretes! Boring party, isn't so? I quote the text... ...Unfortunately, because of the tickets rise in price there is a problem: all of them live in different parts of the city, and they are to choose a place of meeting so that they wouldn't pay too much for the tickets (SOME MONEY IS TO BE LEFT FOR THE PARTY)..... The problem text is ambiguous... rewrite please, or add old tests to this example. |
|
|