#P10966. K-Anonymous Sequence
K-Anonymous Sequence
题目描述

输入格式

输出格式
For each test, output one line containing a single integer-the minimal cost
2
7 3
2 2 3 4 4 5 5
6 2
0 3 3 4 8 9
3
5


For each test, output one line containing a single integer-the minimal cost
2
7 3
2 2 3 4 4 5 5
6 2
0 3 3 4 8 9
3
5
By signing up a ZXOJ universal account, you can submit code and join discussions in all online judging services provided by us.