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 1324. Extra Spaces

Strange statetment
Posted by Aleksander 27 Jan 2011 13:27
In the statement it is said, that

"If there are many such schemes, then you should choose an optimal scheme among them, i.e., a scheme that also reduces sequences of up to K spaces (K ≥ L) for a maximal possible K."

So for the sample right answer would be

4
11
5
3
2

and maximum possible k = 110

Where I was wrong, people? :)
Re: Strange statetment
Posted by Aleksander 27 Jan 2011 13:32
Oh, now I see.. Admins, please correct russian statement.
Look at this:

English: If there are many such schemes, then you should choose an optimal scheme among them, i.e., a scheme that also reduces sequences of up to K spaces (K ≥ L) for a maximal possible K. If there are several optimal schemes, you may give any one of them.

Russian: Если таких планов несколько, то вы должны выбрать среди них оптимальный — такой, который позволяет заменить последовательности пробелов длины K (K ≥ L) для максимально возможного K.

These conditions are not equal! An example you can see in my previous post.

Good Luck!
Re: Strange statetment
Posted by Sandro (USU) 28 Jan 2011 03:03
Statement was fixed.