19 18 ###......###...... ###......###...... ###..#...###..#... ..............#... .................. .................. ......###......### ......###......### ......###......### .###.............. .###......##...... .###.............. ............###... ...##.......###... ...##.......###... .......###........ .......###........ .......###........ ........#.........
1 1 1 10 7 7 10 2 A TaK Code looks like the following, where `#` is a black cell, `.` is a white cell, and `?` can be either black or white. ###.????? ###.????? ###.????? ....????? ????????? ?????.... ?????.### ?????.### ?????.### In the grid given by the input, the nine-by-nine region, whose top-left cell is at the $10$\-th row from the top and $2$\-nd column from the left, satisfies the conditions of a TaK Code, as shown below. ###...... ###...... ###...... ......... ..##..... ..##..... ......### ......### ......###
9 21 ###.#...........#.### ###.#...........#.### ###.#...........#.### ....#...........#.... #########...######### ....#...........#.... ....#.###...###.#.... ....#.###...###.#.... ....#.###...###.#....
1 1
18 18 ######............ ######............ ######............ ######............ ######............ ######............ .................. .................. .................. .................. .................. .................. ............###### ............###### ............###### ............###### ............###### ............######
There may be no region that satisfies the conditions of TaK Code.
{
"problem": {
"name": "TaK Code",
"description": {
"content": "Takahashi invented Tak Code, a two-dimensional code. A TaK Code satisfies all of the following conditions: * It is a region consisting of nine horizontal rows and nine vertical columns. * All the",
"description_type": "Markdown"
},
"platform": "AtCoder",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "abc312_b"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Takahashi invented Tak Code, a two-dimensional code. A TaK Code satisfies all of the following conditions:\n\n* It is a region consisting of nine horizontal rows and nine vertical columns.\n* All the...",
"is_translate": false,
"language": "English"
}
]
}