PermutationForces II
1698E2300· international master1s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
63 12 1 33 -1 -13 22 1 33 -1 -14 11 4 3 24 3 1 26 44 2 6 3 1 56 1 5 -1 3 -17 41 3 6 2 7 4 52 5 -1 -1 -1 4 -114 141 2 3 4 5 6 7 8 9 10 11 12 13 14-1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
Output
120212331032489
58%
1698E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…