3 3 7 1 1 4 1 2 7 2 1 3 2 3 5 3 1 2 3 2 5 3 3 5
1 0 2 0 3 1 0 The grid contains the following integers. 4 7 0 3 0 5 2 5 5 * When $(R, C) = (r_1, c_1) = (1, 1)$, you can move the piece once by moving it as $(1, 1) \rightarrow (1, 2)$. * When $(R, C) = (r_2, c_2) = (1, 2)$, you cannot move the piece at all. * When $(R, C) = (r_3, c_3) = (2, 1)$, you can move the piece twice by moving it as $(2, 1) \rightarrow (1, 1) \rightarrow (1, 2)$. * When $(R, C) = (r_4, c_4) = (2, 3)$, you cannot move the piece at all. * When $(R, C) = (r_5, c_5) = (3, 1)$, you can move the piece three times by moving it as $(3, 1) \rightarrow (2, 1) \rightarrow (1, 1) \rightarrow (1, 2)$. * When $(R, C) = (r_6, c_6) = (3, 2)$, you can move the piece once by moving it as $(3, 2) \rightarrow (1, 2)$. * When $(R, C) = (r_7, c_7) = (3, 3)$, you cannot move the piece at all.
5 7 20 2 7 8 2 6 4 4 1 9 1 5 4 2 2 7 5 5 2 1 7 2 4 6 6 1 4 1 2 1 10 5 6 9 5 3 3 3 7 9 3 6 3 4 3 4 3 3 10 4 2 1 3 5 4 1 2 6 4 7 9
2 4 1 5 3 6 6 2 7 0 0 4 1 5 3 0 5 2 4 0
{
"problem": {
"name": "Integers on Grid",
"description": {
"content": "We have a grid with $H$ horizontal rows and $W$ vertical columns. Let $(i, j)$ denote the square at the $i$\\-th row from the top and $j$\\-th column from the left. Each square contains an integer. For ",
"description_type": "Markdown"
},
"platform": "AtCoder",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "abc224_e"
},
"statements": [
{
"statement_type": "Markdown",
"content": "We have a grid with $H$ horizontal rows and $W$ vertical columns. Let $(i, j)$ denote the square at the $i$\\-th row from the top and $j$\\-th column from the left.\nEach square contains an integer. For ...",
"is_translate": false,
"language": "English"
}
]
}