3 2 5 3 1 4 8 9 11 2 6 1 1 4 3 5 8 10 36 27 37 38 30 34 54 38 20 77 45 1 36 49 38 51 52 31 58 65 43 60 71 14 42 73 36 38 85 14 29
Yes No Yes For the first test case, Takahashi can achieve all goals by flying as follows: * At time $0$, he is at altitude $5$. * From time $0$ to time $2$, he descends at a rate of $0.5$ per second. * At time $2$, he is at altitude $5 - 0.5 \times 2 = 4$. * From time $2$ to time $3$, he stays at the same altitude. * At time $3$, he is at altitude $4$. He satisfies the first goal. * From time $3$ to time $8$, he ascends at a rate of $1$ per second. * At time $8$, he is at altitude $4 + 1 \times 5 = 9$. He satisfies the second goal. For the second test case, he cannot achieve all goals no matter how he flies.
{
"problem": {
"name": "Flapping Takahashi",
"description": {
"content": "Takahashi has decided to fly in the sky with balloons. Takahashi is at altitude $H$ at time $0$ (the unit is seconds), and will fly for $10^9$ seconds from now. Takahashi can change his flying altitud",
"description_type": "Markdown"
},
"platform": "AtCoder",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "abc434_c"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Takahashi has decided to fly in the sky with balloons. Takahashi is at altitude $H$ at time $0$ (the unit is seconds), and will fly for $10^9$ seconds from now.\nTakahashi can change his flying altitud...",
"is_translate": false,
"language": "English"
}
]
}