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

If you use Java
Posted by Oleg Strekalovsky [Vologda SPU] 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
Re: If you use Java
Posted by watashi 6 Jan 2012 02:41
and use BufferedReader instead of Scanner.
Re: If you use Java
Posted by gautamvs 21 May 2013 00:18
if you can implement binary search properly with all terminating conditions, it will work.