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 1934. Black Spot

how to get a 0.19 in the first test ?
Posted by uu_Innk 10 Nov 2012 18:46
how to get a 0.19 in the first test ?
what formula ?
Re: how to get a 0.19 in the first test ?
Posted by Andrew Sboev [USU] 10 Nov 2012 21:45
Maybe, a + b - a * b? :)
Re: how to get a 0.19 in the first test ?
Posted by DANGER 27 Nov 2012 12:04
1-(1-p1)*(1-p2)
Re: how to get a 0.19 in the first test ?
Posted by []zhi (Bozhin Katsarski) 5 Jan 2013 22:01
Both the formulas by Andrew Sboev and DANGER are correct, since they are actually one and the same (you can open the brackets in DANGER's formula to prove for yourself). http://boards.straightdope.com/sdmb/archive/index.php/t-143322.html Maybe this link will help you understand why. I hope I helped you :)