7 3 5 2 6 3 1 4 6 1 2 3 5 7 9 11
7 2 3 5 1 9 3 In this input, $X=(5,2,6,3,1,4,6)$ and the initial sequence is $A=(1,2,3,5,7,9,11)$. * After one operation, the sequence is $(7,2,9,3,1,5,9)$. * After two operations, the sequence is $(1,2,5,9,7,3,5)$. * After three operations, the sequence is $(7,2,3,5,1,9,3)$.
4 0 3 4 1 2 4 3 2 1
4 3 2 1 There may be cases where no operations are performed.
9 1000000000000000000 3 7 8 5 9 3 7 4 2 9 9 8 2 4 4 3 5 3
3 3 3 3 3 3 3 3 3
{
"problem": {
"name": "Permute K times",
"description": {
"content": "You are given a sequence $X$ of length $N$ where each element is between $1$ and $N$, inclusive, and a sequence $A$ of length $N$. Print the result of performing the following operation $K$ times on",
"description_type": "Markdown"
},
"platform": "AtCoder",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "abc367_e"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given a sequence $X$ of length $N$ where each element is between $1$ and $N$, inclusive, and a sequence $A$ of length $N$. \nPrint the result of performing the following operation $K$ times on...",
"is_translate": false,
"language": "English"
}
]
}