cf/mirror

Pair of Numbers

CF
359D2000· candidate master2s256 MB⌨ stdin/stdout

Examples

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