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 1132. Square Root

To ADMIN: problem statement is imprecise
Posted by ucs6 1 Feb 2013 06:30
The problem states that the root should be in the range of (0, n - 1), which looks like saying 0 < x < n - 1. However apparently x can be equal to n - 1! I spent several hours stuck on WA 2 just because of this. Please change it to [0, n - 1] or whatever is precise.
Fixed (-)
Posted by Sandro (USU) 3 Feb 2013 02:34
Re: Fixed (-)
Posted by raggzy 10 Mar 2014 17:59
Could you please next test case in statement?
9 7 (ans is same as for 2 7, for people to understand that a can be greater than n)
Because it's not precise and personally I spent 2-3 hours just to add (%n) stuff.