Posterior Probability of the Selected Factory

Posterior Probability of the Selected Factory

Factory A produces a% red components and Factory B produces b% red components.

One of the two factories is selected uniformly at random. Then k...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: