cf/mirror

Equalize Them All

CF
1144D1400· specialist2s256 MB⌨ stdin/stdout

Examples

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