cf/mirror

Nene's Game

CF
1956A800· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
6
2 1
3 5
5
5 3
2 4 6 7 9
1 3 5
5 4
3 4 5 6 7
1 2 3 4
2 3
69 96
1 10 100
1 1
100
50
3 3
10 20 30
1 10 100
Output
2
1 1 1
1 2 2 2
1 10 68
50
1 9 9
1956A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)