4 0101 1101 1111 0000
1010 1101 0111 0001 We denote by $(i,j)$ the square at the $i$\-th row from the top and $j$\-th column from the left. The outer squares, in clockwise order starting from $(1,1)$, are the following $12$ squares: $(1,1),(1,2),(1,3),(1,4),(2,4),(3,4),(4,4),(4,3),(4,2),(4,1),(3,1)$, and $(2,1)$. The sample output shows the resulting grid after shifting the integers written on those squares clockwise by one square.
2 11 11
11 11
5 01010 01001 10110 00110 01010
00101 11000 00111 00110 10100
{
"problem": {
"name": "Rotate",
"description": {
"content": "You are given a grid with $N$ rows and $N$ columns. An integer $A_{i, j}$ is written on the square at the $i$\\-th row from the top and $j$\\-th column from the left. Here, it is guaranteed that $A_{i,j",
"description_type": "Markdown"
},
"platform": "AtCoder",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "abc309_b"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given a grid with $N$ rows and $N$ columns. An integer $A_{i, j}$ is written on the square at the $i$\\-th row from the top and $j$\\-th column from the left. Here, it is guaranteed that $A_{i,j...",
"is_translate": false,
"language": "English"
}
]
}