3 4 #..# .#.# .#.#
1 2 0 3 In the $1$\-st column, one square, $(1, 1)$, contains a box. Thus, $X_1 = 1$. In the $2$\-nd column, two squares, $(2, 2)$ and $(3, 2)$, contain a box. Thus, $X_2 = 2$. In the $3$\-rd column, no squares contain a box. Thus, $X_3 = 0$. In the $4$\-th column, three squares, $(1, 4)$, $(2, 4)$, and $(3, 4)$, contain a box. Thus, $X_4 = 3$. Therefore, the answer is $(X_1, X_2, X_3, X_4) = (1, 2, 0, 3)$.
3 7 ....... ....... .......
0 0 0 0 0 0 0 There may be no square that contains a box.
8 3 .#. ### .#. .#. .## ..# ##. .##
2 7 4
5 47 .#..#..#####..#...#..#####..#...#...###...##### .#.#...#.......#.#...#......##..#..#...#..#.... .##....#####....#....#####..#.#.#..#......##### .#.#...#........#....#......#..##..#...#..#.... .#..#..#####....#....#####..#...#...###...#####
0 5 1 2 2 0 0 5 3 3 3 3 0 0 1 1 3 1 1 0 0 5 3 3 3 3 0 0 5 1 1 1 5 0 0 3 2 2 2 2 0 0 5 3 3 3 3
{
"problem": {
"name": "Line Sensor",
"description": {
"content": "There is a grid with $H$ rows from top to bottom and $W$ columns from left to right. Let $(i, j)$ denote the square at the $i$\\-th row from the top and $j$\\-th column from the left. The squares 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": "abc274_b"
},
"statements": [
{
"statement_type": "Markdown",
"content": "There is a grid with $H$ rows from top to bottom and $W$ columns from left to right. Let $(i, j)$ denote the square at the $i$\\-th row from the top and $j$\\-th column from the left. \nThe squares are ...",
"is_translate": false,
"language": "English"
}
]
}