Make It Permutation
1810C1300· pupil1s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
83 3 31 2 35 1 51 2 3 5 65 2 31 1 1 3 35 1 102 4 6 8 106 2 87 3 5 4 4 84 10 11 2 6 74 3 32 5 8 72 1000000000 11000000000 1
Output
0281420312999999998
58%
1810C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)