Girl Permutation
1946E2200· master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
61 1 1114 2 31 22 3 43 3 11 2 335 3 41 2 32 3 4 520 5 41 2 3 4 1212 13 18 206 2 31 33 4 6
Output
131031758080810
58%
1946E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)