Hard Process
660C1600· expert1s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
7 11 0 0 1 1 0 1
Output
41 0 0 1 1 1 1
Sample 2of 2
Input
10 21 0 0 1 0 1 0 1 0 1
Output
51 0 0 1 1 1 1 1 0 1
58%
660C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
7 11 0 0 1 1 0 1
41 0 0 1 1 1 1
10 21 0 0 1 0 1 0 1 0 1
51 0 0 1 1 1 1 1 0 1