Subarray Sorting
1187D2400· grandmaster2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
471 7 1 4 4 5 61 1 4 4 5 7 651 1 3 3 51 1 3 3 521 11 231 2 33 2 1
Output
YESYESNONO
58%
1187D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
471 7 1 4 4 5 61 1 4 4 5 7 651 1 3 3 51 1 3 3 521 11 231 2 33 2 1
YESYESNONO