{"problem":{"name":"Enlarged Checker Board","description":{"content":"Tiles are aligned in $N$ horizontal rows and $N$ vertical columns. Each tile has a grid with $A$ horizontal rows and $B$ vertical columns. On the whole, the tiles form a grid $X$ with $(A\\times N)$ ho","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc250_b"},"statements":[{"statement_type":"Markdown","content":"Tiles are aligned in $N$ horizontal rows and $N$ vertical columns. Each tile has a grid with $A$ horizontal rows and $B$ vertical columns. On the whole, the tiles form a grid $X$ with $(A\\times N)$ horizontal rows and $(B\\times N)$ vertical columns.  \nFor $1\\leq i,j \\leq N$, Tile $(i,j)$ denotes the tile at the $i$\\-th row from the top and the $j$\\-th column from the left.\nEach square of $X$ is painted as follows.\n\n*   Each tile is either a **white tile** or a **black tile**.\n*   Every square in a white tile is painted white; every square in a black tile is painted black.\n*   Tile $(1,1)$ is a white tile.\n*   Two tiles sharing a side have different colors. Here, Tile $(a,b)$ and Tile $(c,d)$ are said to be sharing a side if and only if $|a-c|+|b-d|=1$ (where $|x|$ denotes the absolute value of $x$).\n\nPrint the grid $X$ in the format specified in the Output section.\n\n## Constraints\n\n*   $1 \\leq N,A,B \\leq 10$\n*   All values in input are integers.\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$N$ $A$ $B$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc250_b","tags":[],"sample_group":[["4 3 2","..##..##\n..##..##\n..##..##\n##..##..\n##..##..\n##..##..\n..##..##\n..##..##\n..##..##\n##..##..\n##..##..\n##..##.."],["5 1 5",".....#####.....#####.....\n#####.....#####.....#####\n.....#####.....#####.....\n#####.....#####.....#####\n.....#####.....#####....."],["4 4 1",".#.#\n.#.#\n.#.#\n.#.#\n#.#.\n#.#.\n#.#.\n#.#.\n.#.#\n.#.#\n.#.#\n.#.#\n#.#.\n#.#.\n#.#.\n#.#."],["1 4 4","....\n....\n....\n...."]],"created_at":"2026-03-03 11:01:14"}}