cf/mirror

Sorting Railway Cars

CF
605A1600· expert2s256 MB⌨ stdin/stdout

Examples

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