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 1543. Dance Revolution

Korduban [Kiev] clarification [4] // Problem 1543. Dance Revolution 21 Apr 2007 15:34
What range have 1st step? For example, for MEDUIM (period == 500) is it [0..499] or [0..500] ?
The same question for last step: [Tmax-perion, Tmax-1] or [Tmax-period,Tmax] ?
Korduban [Kiev] Re: clarification [2] // Problem 1543. Dance Revolution 21 Apr 2007 15:39
And, output is defined incorrectly a bit: "In the first line output the number of “PERFECT” step-periods, ..." - any word about word "Perfect" in output.
Spieler (USU) Re: clarification [1] // Problem 1543. Dance Revolution 21 Apr 2007 15:56
Follow the format, described in sample.
Denis Koshman Re: clarification // Problem 1543. Dance Revolution 21 Aug 2008 21:06
Range is of couse [0;500)

It's quite obvious. We have only three logical possibilities for that:
[0;500] is ambiguous because it overlaps with [500;1000].
(0;500), [0;500) and (0;500] can be tested vs. input.
Spieler (USU) Re: clarification // Problem 1543. Dance Revolution 21 Apr 2007 15:55
no comments.