D. New Year Concert
New Year is just around the corner, which means that in School 179, preparations for the concert are in full swing.
There are
As the main one responsible for holding the concert, Idnar knows that if a concert has
To avoid boring the audience, Idnar can ask any number of times (possibly zero) for the
For a sequence of scene lengths
Idnar hasn't decided which scenes will be allowed for the concert, so he wants to know the value of
The first line contains a single integer
The second line contains
Print a sequence of
In the first test we can change
In the second test:
[1] can be changed into[2] ,[1,4] can be changed into[3,4] ,[1,4,2] can be changed into[2,3,2] .
No comments:
Post a Comment