3 4 1 5 3 10 100
3 7 8 We will list the three Snuke's and Takahashi's actions up to time $13$ in chronological order. Time $3$: Takahashi hands a gem to Snuke $1$. Time $7$: Snuke $1$ hands a gem to Snuke $2$. Time $8$: Snuke $2$ hands a gem to Snuke $3$. Time $10$: Takahashi hands a gem to Snuke $2$. Time $11$: Snuke $2$ hands a gem to Snuke $3$. Time $13$: Snuke $3$ hands a gem to Snuke $1$. After that, they will continue handing gems, though it will be irrelevant to the answer.
4 100 100 100 100 1 1 1 1
1 1 1 1 Note that the values $S_i$ and $T_i$ may not be distinct.
4 1 2 3 4 1 2 4 7
1 2 4 7 Note that a Snuke may perform multiple transactions simultaneously. Particularly, a Snuke may receive gems simultaneously from Takahashi and another Snuke.
8 84 87 78 16 94 36 87 93 50 22 63 28 91 60 64 27
50 22 63 28 44 60 64 27
{
"problem": {
"name": "Distribution",
"description": {
"content": "There are $N$ creatures standing in a circle, called Snuke $1, 2, ..., N$ in counter-clockwise order. When Snuke $i$ $(1 \\leq i \\leq N)$ receives a gem at time $t$, $S_i$ units of time later, it will ",
"description_type": "Markdown"
},
"platform": "AtCoder",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "abc214_c"
},
"statements": [
{
"statement_type": "Markdown",
"content": "There are $N$ creatures standing in a circle, called Snuke $1, 2, ..., N$ in counter-clockwise order.\nWhen Snuke $i$ $(1 \\leq i \\leq N)$ receives a gem at time $t$, $S_i$ units of time later, it will ...",
"is_translate": false,
"language": "English"
}
]
}