cf/mirror

Beautiful Numbers

CF
1265B1300· pupil1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
3
6
4 5 1 3 2 6
5
5 3 1 2 4
4
1 4 3 2
Output
101011
11111
1001
1265B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)