Skyscrapers (easy version)
1313C11500· specialist1s512 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
51 2 3 2 1
Output
1 2 3 2 1
Sample 2of 2
Input
310 6 8
Output
10 6 6
58%
1313C1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
51 2 3 2 1
1 2 3 2 1
310 6 8
10 6 6