API Response (JSON)
{
"problem": {
"name": "Swap and Range Sum",
"description": {
"content": "You are given a sequence $A=(A_1,A_2,\\dots,A_N)$ of length $N$. Process $Q$ queries in order. Each query is in one of the following formats: * `1 x` : Swap the values of $A_x$ and $A_{x+1}$. * `2",
"description_type": "Markdown"
},
"platform": "AtCoder",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "abc442_d"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given a sequence $A=(A_1,A_2,\\dots,A_N)$ of length $N$.\nProcess $Q$ queries in order. Each query is in one of the following formats:\n\n* `1 x` : Swap the values of $A_x$ and $A_{x+1}$.\n* `2...",
"is_translate": false,
"language": "English"
}
]
}