cf/mirror

Count Permutations

CF
1776N3500· legendary gm5s256 MB⌨ stdin/stdout
#math

Examples

Sample 1of 4
Input
2
<
Output
0.0000000000
Sample 2of 4
Input
3
<>
Output
1.0000000000
Sample 3of 4
Input
5
><<<
Output
2.0000000000
Sample 4of 4
Input
10
<><<<<<>>
Output
9.8281364842
1776N.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)