4 2
6 The following six sequences can be obtained: * $(1, 1, 1, 1)$ * $(1, 1, 2, 2)$ * $(1, 2, 2, 1)$ * $(2, 2, 1, 1)$ * $(2, 1, 1, 2)$ * $(2, 2, 2, 2)$
1 10
10
6 3
75
1000000000 1000000000
875699961
{
"problem": {
"name": "Rotated Palindromes",
"description": {
"content": "Takahashi and Aoki are going to together construct a sequence of integers. First, Takahashi will provide a sequence of integers $a$, satisfying all of the following conditions: * The length of $a$ ",
"description_type": "Markdown"
},
"platform": "AtCoder",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "arc064_d"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Takahashi and Aoki are going to together construct a sequence of integers.\nFirst, Takahashi will provide a sequence of integers $a$, satisfying all of the following conditions:\n\n* The length of $a$ ...",
"is_translate": false,
"language": "English"
}
]
}