cf/mirror

Completely Searching for Inversions

CF
1866C1900· candidate master2s512 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
5
2
4 0
3 1
0
1
2 0
2
3 1
5 1
0
Output
4
1866C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…