QED's Favorite Permutation
2030D1700· expert2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
35 31 4 2 5 3RLRLL2438 51 5 2 4 8 3 6 7RRLLRRRL435346 21 2 3 4 5 6RLRLRL45
Output
YESYESNONOYESNONONOYESYES
58%
2030D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)