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

clarification
Posted by Korduban [Kiev] 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] ?
Re: clarification
Posted by Korduban [Kiev] 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.
Re: clarification
Posted by Spieler (USU) 21 Apr 2007 15:55
no comments.
Re: clarification
Posted by Spieler (USU) 21 Apr 2007 15:56
Follow the format, described in sample.
Re: clarification
Posted by Denis Koshman 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.