Beautiful Numbers
1265B1300· pupil1s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
364 5 1 3 2 655 3 1 2 441 4 3 2
Output
101011111111001
58%
1265B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
364 5 1 3 2 655 3 1 2 441 4 3 2
101011111111001