cf/mirror

Game of Questions

CF
1773G2800· international gm5s1024 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
1 5
11010
Output
1.0000000000000000
Sample 2of 3
Input
3 3
011
101
110
Output
0.3333333333333333
Sample 3of 3
Input
6 4
1011
0110
1111
0110
0000
1101
Output
0.1666666666666667
1773G.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)