cf/mirror

Sequence Game

CF
1862B800· newbie2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
6
3
4 6 3
3
1 2 3
5
1 7 9 5 7
1
144
2
1 1
5
1 2 2 1 1
Output
6
4 3 2 6 3 3
3
1 2 3
6
1 7 9 3 5 7
1
144
2
1 1
6
1 2 2 1 1 1
1862B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)