A13557. Park Lighting
编程题
普及/提高-
知识点
题目描述
由于本场题面违反互联网相关法律,不予展示原题面。
输入格式
无
输出格式
无
输入输出样例
输入 #1
5 1 1 1 3 2 2 3 3 5 3
输出 #1
1 2 2 5 8
说明/提示
Possible optimal arrangement of the lanterns for the $2$ -nd test case of input data example: 
Possible optimal arrangement of the lanterns for the $3$ -rd test case of input data example: 
Possible optimal arrangement of the lanterns for the $3$ -rd test case of input data example: 