Little Elephant and Furik and Rubik
204C2000· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
2ABBA
Output
0.400000000
Sample 2of 2
Input
3AABCAA
Output
0.642857143
58%
204C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
2ABBA
0.400000000
3AABCAA
0.642857143