3 1 0 0 100 3 2 1 10 5 3 1 1
101 The optimal strategy is as follows. * Wait at coordinates $(0,0)$ to catch the first Snuke at time $1$. * Go to coordinates $(3,1)$ to catch the third Snuke at time $5$. It is impossible to catch both the first and second Snuke, so this is the best he can.
2 100 0 1 1 200 1 0 10
10 Moving in the negative $y$\-direction is not allowed, so he cannot catch the first Snuke and then the second.
10 797829355 595605750 185676190 353195922 913575467 388876063 395940406 533206504 810900084 201398242 159760440 87027328 889089200 220046203 85488350 325976483 277429832 161055688 73308100 940778720 927999455 429014248 477195779 174616807 673419335 415891345 81019893 286986530 989248231 147792453 417536200 219371588 909664305 22150727 414107912 317441890 988670052 140275628 468278658 67181740
1553741733
{
"problem": {
"name": "Ex - Snuke Panic (2D)",
"description": {
"content": "Takahashi is trying to catch many Snuke. There are some pits in a two-dimensional coordinate plane, connected to Snuke's nest. Now, $N$ Snuke will appear from the pits. It is known that the $i$\\-th Sn",
"description_type": "Markdown"
},
"platform": "AtCoder",
"limit": {
"time_limit": 5000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "abc266_h"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Takahashi is trying to catch many Snuke.\nThere are some pits in a two-dimensional coordinate plane, connected to Snuke's nest.\nNow, $N$ Snuke will appear from the pits. It is known that the $i$\\-th Sn...",
"is_translate": false,
"language": "English"
}
]
}