Game of Questions
1773G2800· international gm5s1024 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
1 511010
Output
1.0000000000000000
Sample 2of 3
Input
3 3011101110
Output
0.3333333333333333
Sample 3of 3
Input
6 4101101101111011000001101
Output
0.1666666666666667
58%
1773G.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)