Shocking Arrangement
1798D1600· expert2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
743 4 -2 -552 2 2 -3 -38-3 -3 1 1 1 1 1 130 1 -17-3 4 3 4 -4 -4 0107-18 13 -18 -17 12 15 13
Output
Yes-5 -2 3 4Yes-3 2 -3 2 2Yes1 1 1 -3 1 1 1 -3Yes-1 0 1Yes4 -4 4 -4 0 3 -3NoYes13 12 -18 15 -18 13 -17
58%
1798D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)