4 0 0 0 2 2 0 2 2
9 One possible way to achieve the maximum score is as follows: * Initially, four points $(0, 0), (0, 2), (2, 0), (2, 2)$ are plotted. * Plot $(0, 1)$: the middle point of $(0, 0)$ and $(0, 2)$. * Plot $(0, 0.5)$: the middle point of $(0, 0)$ and $(0, 1)$. * Plot $(1, 0)$: the middle point of $(0, 0)$ and $(2, 0)$. * Plot $(1, 1)$: the middle point of $(0, 0)$ and $(2, 2)$. * Plot $(1, 2)$: the middle point of $(0, 2)$ and $(2, 2)$. * Plot $(2, 1)$: the middle point of $(2, 0)$ and $(2, 2)$. * Now we have $10$ points: $(0, 0), (0, 0.5), (0, 1), (0, 2), (1, 0), (1, 1), (1, 2), (2, 0), (2, 1), (2, 2)$. $9$ of them have integer coordinates, so the score is $9$.
4 0 0 0 3 3 0 3 3
4 We can prove that, besides the initial points, he can't plot any points with integer coordinates.
{
"problem": {
"name": "Middle Point",
"description": {
"content": "Initially, $N$ points $(x_1, y_1), \\ldots, (x_N, y_N)$ are plotted on a plane. Snuke is allowed to perform the following operation an arbitrary finite number of times: * Choose two points that are ",
"description_type": "Markdown"
},
"platform": "AtCoder",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "agc051_e"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Initially, $N$ points $(x_1, y_1), \\ldots, (x_N, y_N)$ are plotted on a plane. Snuke is allowed to perform the following operation an arbitrary finite number of times:\n\n* Choose two points that are ...",
"is_translate": false,
"language": "English"
}
]
}