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 1327. Fuses

Why is answer 1 for a=2 and b=4 correct??? and 50 for 100 200?
Posted by prime 15 Oct 2016 15:28
For 2 4 it should be days 2 and 4.
For 100 200 it shoould be 100, 102...148(count must be 25 already)...200(count is 51).
Re: Why is answer 1 for a=2 and b=4 correct??? and 50 for 100 200?
Posted by ToadMonster 15 Oct 2016 18:55
Janus brokes fuses every ODD day. There is 1 odd day in interval [2..4]
Re: Why is answer 1 for a=2 and b=4 correct??? and 50 for 100 200?
Posted by prime 16 Oct 2016 00:11
Hmm... I see that I just did not understand the task clearly. For me it was like day 2 is the first day, but it is just the starting point of counting... Thanks.