cf/mirror

Pillars

CF
474E2000· candidate master1s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
5 2
1 3 6 7 4
Output
4
1 2 3 5
Sample 2of 2
Input
10 3
2 1 3 6 9 11 7 3 20 18
Output
6
1 4 6 7 8 9
474E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…