Calculation of Pi

Back to Problem Solutions forum

Vladimir_V     2015-09-27 17:02:19

Hi to every one

My code for this problem works very well with input like 18 4 or 37 11 but give me a negative PI number for inputs like 67 35. Can anyone gime a hint what is wrong ?

Vladimir_V     2015-09-27 17:49:45

I use for this problem BigDecimal

Rodion (admin)     2015-09-27 18:39:26
User avatar

Hi, Vladimir :)

Here is the link to your current solution, but it seems you did not upload the code yet so we are unable to check it.

Submit it (even if it is not correct) so it will become accessible here.

Vladimir_V     2015-09-27 18:48:21

Whrte to upload my code ? Right here ?

Rodion (admin)     2015-09-28 14:00:20
User avatar

You can submit it as a solution for problem - even though it will fail, it will be stored anyway and we'll be able to see it

Menshikov Ivan     2016-02-26 19:42:26
User avatar

I'd like to delete this post, but dunno how :)

Please login and solve 5 problems to be able to post at forum