Stepan and Permutation
2244C2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
45 2 35 4 3 2 16 2 42 1 4 3 6 54 2 21 2 3 45 2 31 2 3 5 4
Output
YESNOYESYES
58%
2244C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…