cf/mirror

Gargari and Permutations

CF
463D1900· candidate master2s256 MB⌨ stdin/stdout

Examples

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