cf/mirror

Permutation Separation

CF
1295E2200· master2s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
3
3 1 2
7 1 4
Output
4
Sample 2of 3
Input
4
2 4 1 3
5 9 8 3
Output
3
Sample 3of 3
Input
6
3 5 1 6 2 4
9 1 9 9 1 9
Output
2
1295E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)