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 1302. Delta-wave

Perhaps this would help you with WA#7
Posted by strider 4 Feb 2009 01:58
I overcame the trouble when replaced my
(int)sqrt(1.e9)
with
(int)sqrt(1.e9)+1

This was an upper bound to binary search when searching row number for N.