Lucky Probability
109B1900· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
1 10 1 10 2
Output
0.320000000000
Sample 2of 2
Input
5 6 8 10 1
Output
1.000000000000
58%
109B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
1 10 1 10 2
0.320000000000
5 6 8 10 1
1.000000000000