Re: [gcj] Bull's Eye - Large

2013-04-28 Thread Vaibhav Tulsyan
Oh, awesome! :D On Sat, Apr 27, 2013 at 4:51 PM, Malay Keshav malay.kes...@gmail.comwrote: They have used a binary search , since the function relating radius , number of circles and the amount of paint was strictly non decreasing. On Sat, Apr 27, 2013 at 2:12 PM, Vaibhav Tulsyan

[gcj] Bull's Eye - Large

2013-04-27 Thread Vaibhav Tulsyan
I was seeing the solutions of the top 10 contestants for the large input of Bull's Eye. They all seem to have used some method involving variables like beginning,end and mid. Can anybody explain to me what method they've applied exactly? I just used basic maths to solve it. They seem to have

Re: [gcj] Bull's Eye - Large

2013-04-27 Thread Malay Keshav
They have used a binary search , since the function relating radius , number of circles and the amount of paint was strictly non decreasing. On Sat, Apr 27, 2013 at 2:12 PM, Vaibhav Tulsyan wittynwise2...@gmail.comwrote: I was seeing the solutions of the top 10 contestants for the large input