cf/mirror

Increasing Sequence with Fixed OR

CF
1988C1300· pupil2s512 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
4
1
3
14
23
Output
1
1
3
1 2 3
4
4 10 12 14
5
7 18 21 22 23
1988C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)