Sparklers

该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。

JOI-kun and his friends will play with sparklers. In total, there are N people including JOI-kun and his friends. If one sets fire to a sparkler, it keeps the fire for exactly T seconds. In the beginning, JOI-kun and his friends are standing separately along a straight street running from east to west. JOI-kunand his friendsarenumberedfrom1to N. Foreach i, j with i < j, the i-thpersonisstandinginthe west of the j-th person, or the i-th person and the j-th person are standing in the same place. The distance from the i-th person to the westernmost person (i.e. the first person) is Xi meters. JOI-kun is the K-th person. When they start to play with sparklers, they notice that the lighter does not have enough fuel. They can set fire to one sparkler only. So,theydecidetosetfiretoJOI-kun’ssparklerfirst. Then,theywillsetfiretoothersparklersbytouchingthem to burning sparklers. Since a sparkler keeps the fire for T seconds only, JOI-kun and his friends have to cooperate together to spread the fire to sparklers. When they set fire to a sparkler from a burning sparkler, the following conditions must be satisfied: • They must touch a sparkler to a burning sparkler within T seconds after setting fire. They can do so after exactly T seconds have passed. • The sparkler they are planning to set fire must not be burnt before. • The person who has a burning sparkler and the person who has a sparkler without fire must be in the same place.
We ignore the amount of waiting time for setting fire from one sparkler to another. Since JOI-kun and his friends are standing separately in the beginning, they have to move appropriately to spread the fire. They can run at any speed to the west or east. But, it is dangerous to run too fast when they are playing. Hence, they will make a rule that their speed must not exceed s meters per second. Here, s is a non-negative integer. How should they set the speed limit to spread fire to all sparklers?

HUAS2018第四周训练

未参加
状态
已结束
规则
OI
题目
3
开始于
2018-03-28 17:00
结束于
2018-04-02 05:00
持续时间
108.0 小时
主持人
参赛人数
7