80D - Falling Anvils
This was a nice survey problem! during my virtual participation I solved it using ### calculus and ### graph analysis.. this method is very efficient and fast to solve problem this type.. so I wanted to share with the CF community!
the probability with which an aim can be successfully hit by an anvil is the probability of choosing a (p) factor times the probability of which we can choose a valid q factor that can make the hit successful!
the probability of choosing a random p is dp/a, the probability for a valid hit for a given p is q/(2*b)
thanks man that is a very good solution.
No one cares!!