Skyscrapers
1137A1600· expert2s512 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
2 31 2 12 1 2
Output
2 2 22 2 2
Sample 2of 2
Input
2 21 23 4
Output
2 33 2
58%
1137A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
2 31 2 12 1 2
2 2 22 2 2
2 21 23 4
2 33 2