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 1445. Christmas gifts

WA#14
Posted by Zubyk Taras(Khmelnitsky) 21 May 2006 11:36
I have wrong answer #14, but I do not understand why.

Please help me,  give me some tests.

Thenks.
Re: WA#14
Posted by marius dumitran 25 Jul 2006 02:23
10
1 2 3 4 5 6 7 8 9 10
1 10


1
3
3 3

2
3 1
2 3
Re: WA#14
Posted by Zubyk Taras 26 Jul 2006 16:07
My Answers such as yours!

Can give still tests.

What does your program deduce on such test?
4
2 2 3 5
My answer - 2 5

Look at my program, can will see a mistake!
What wrong in my program?
This is my code:

[code deleted]

Thanks in advance!!!

Edited by moderator 28.07.2006 10:34
Re: WA#14
Posted by Denis Koshman 24 Jul 2008 20:30
My answer is 1 5