Sorting with Twos
1891A800· newbie2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
851 2 3 4 556 5 3 4 496 5 5 7 5 6 6 8 744 3 2 162 2 4 5 3 281 3 17 19 27 57 179 1353 17 57 179 92101 2 3 4 0 6 7 8 9 10
Output
YESYESYESNONONOYESYES
58%
1891A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)