传送门:AtCoder
题目描述:
There is a row of L chairs. Now, N groups of people will come and take seats in order. Each group
consists of one or two people, and the i-th group to come consists of ai people. The total number of people equals L.
Each group w…
看到穿孔纸带, 了解了它的历史, 佩服前辈们的智慧。 来看看维基百科: Punched tape or perforated paper tape is a form of data storage, consisting of a long strip of paper in which holes are punched to store data. Now effectively…