For example, chance is 100% for minimum 0 heads when a coin is tossed 7 times. Chance is 50% for minimum 2 heads when a coin is tossed 3 times. Chance is 0% for minimum 12 heads when a coin is tossed 11 times.
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers55
Suggested Problems
-
Remove all the words that end with "ain"
2740 Solvers
-
The Hitchhiker's Guide to MATLAB
3430 Solvers
-
187 Solvers
-
Replace all zeros and NaNs in a matrix with the string 'error'
104 Solvers
-
Detect a number and replace with two NaN's
200 Solvers
More from this Author99
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
this problem could use some nontrivial testcases