Yet Another Inversions Problem
1917D2300· international master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
43 23 5 10 13 41 3 53 2 0 11 510 1 2 3 48 35 1 7 11 15 3 9 132 0 1
Output
9250104
58%
1917D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)