3 4 0 2 10
4 8 14 The events proceed in the following order: * At $0$ seconds: The 1st person arrives at the ticket booth and starts the purchasing process. * At $2$ seconds: The 2nd person arrives at the ticket booth and joins the line behind the 1st person. * At $4$ seconds: The 1st person finishes purchasing their ticket, and the 2nd person starts the purchasing process. * At $8$ seconds: The 2nd person finishes purchasing their ticket. * At $10$ seconds: The 3rd person arrives at the ticket booth and starts the purchasing process. * At $14$ seconds: The 3rd person finishes purchasing their ticket.
3 3 1 4 7
4 7 10 The events proceed in the following order: * At $1$ second: The 1st person arrives at the ticket booth and starts the purchasing process. * At $4$ seconds: The 1st person finishes purchasing their ticket, and the 2nd person arrives at the ticket booth and starts the purchasing process. * At $7$ seconds: The 2nd person finishes purchasing their ticket, and the 3rd person arrives at the ticket booth and starts the purchasing process. * At $10$ seconds: The 3rd person finishes purchasing their ticket.
10 50000 120190 165111 196897 456895 540000 552614 561627 743796 757613 991216
170190 220190 270190 506895 590000 640000 690000 793796 843796 1041216
{
"problem": {
"name": "Ticket Counter",
"description": {
"content": "At the entrance of AtCoder Land, there is a single ticket booth where visitors line up to purchase tickets one by one. The purchasing process takes $A$ seconds per person. Once the person at the front",
"description_type": "Markdown"
},
"platform": "AtCoder",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "abc358_b"
},
"statements": [
{
"statement_type": "Markdown",
"content": "At the entrance of AtCoder Land, there is a single ticket booth where visitors line up to purchase tickets one by one. The purchasing process takes $A$ seconds per person. Once the person at the front...",
"is_translate": false,
"language": "English"
}
]
}