cf/mirror

Operations with Inversions

CF
2176A800· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
5
3
3 2 1
3
1 2 3
3
3 3 3
5
3 1 4 5 2
1
1
Output
2
0
0
2
0
2176A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)