cf/mirror

Little Alawn's Puzzle

CF
1534C1300· pupil2.5s256 MB⌨ stdin/stdout

Examples

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