Shinju and the Lost Permutation
1658C1700· expert1s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
61121 222 261 2 4 6 3 562 3 1 2 3 433 2 1
Output
YESYESNONOYESNO
58%
1658C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
61121 222 261 2 4 6 3 562 3 1 2 3 433 2 1
YESYESNONOYESNO