Build a Contest
1100B1300· pupil1s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
3 112 3 1 2 2 2 3 2 2 3 1
Output
00100000001
Sample 2of 2
Input
4 84 1 3 3 2 3 3 3
Output
00001000
58%
1100B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
3 112 3 1 2 2 2 3 2 2 3 1
00100000001
4 84 1 3 3 2 3 3 3
00001000