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 1613. For Fans of Statistics

Oleg Strekalovsky [Vologda SPU] If you use Java [2] // Problem 1613. For Fans of Statistics 4 May 2009 20:10
My solution use Arrays.binarySearch(   )
It can be used 1 or 2 times, to establish "1" or "0".
There are some interesting moments at this method.
look at:
Goog Luck!

Edited by author 04.05.2009 20:15
watashi Re: If you use Java [1] // Problem 1613. For Fans of Statistics 6 Jan 2012 02:41
and use BufferedReader instead of Scanner.
gautamvs Re: If you use Java // Problem 1613. For Fans of Statistics 21 May 2013 00:18
if you can implement binary search properly with all terminating conditions, it will work.