Re: [gcj] BullsEye Problem - Python Troubleshooting help!

2013-04-28 Thread alv-r-
So, this could be the same problem with sqrt() on C++? I took the same approach, found a formula to get the answer directly for the large input and was too stuck on omg, but my formula is right, revising it over and over to try to see the error... took me almost the entire round :( Em sábado,

Re: [gcj] BullsEye Problem - Python Troubleshooting help!

2013-04-28 Thread Samuel Jawahar
Is it possible to in different timt zone On Sat, Apr 27, 2013 at 4:52 PM, Joseph DeVincentis dev...@gmail.comwrote: The problem with this is that pow(foo, 0.5) performs a floating point calculation which is not accurate to the 18 significant figures required for this result. On Sat, Apr

Re: [gcj] BullsEye Problem - Python Troubleshooting help!

2013-04-28 Thread Samuel Jawahar
Is it possible to in different time zone On Sun, Apr 28, 2013 at 5:23 PM, Samuel Jawahar insidej...@gmail.comwrote: Is it possible to in different timt zone On Sat, Apr 27, 2013 at 4:52 PM, Joseph DeVincentis dev...@gmail.comwrote: The problem with this is that pow(foo, 0.5) performs a

Re: [gcj] BullsEye Problem - Python Troubleshooting help!

2013-04-27 Thread Joseph DeVincentis
The problem with this is that pow(foo, 0.5) performs a floating point calculation which is not accurate to the 18 significant figures required for this result. On Sat, Apr 27, 2013 at 6:55 AM, wonjun wonj...@gmail.com wrote: I used the following logic for the problem - Let k be the required