API Response (JSON)
{
"problem": {
"name": "Permutation Distance",
"description": {
"content": "You are given a permutation $P=(P _ 1,P _ 2,\\ldots,P _ N)$ of $(1,2,\\ldots,N)$. Find the following value for all $i\\ (1\\leq i\\leq N)$: * $D _ i=\\displaystyle\\min_{j\\neq i}\\left\\lparen\\left\\lvert P ",
"description_type": "Markdown"
},
"platform": "AtCoder",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "abc283_f"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given a permutation $P=(P _ 1,P _ 2,\\ldots,P _ N)$ of $(1,2,\\ldots,N)$.\nFind the following value for all $i\\ (1\\leq i\\leq N)$:\n\n* $D _ i=\\displaystyle\\min_{j\\neq i}\\left\\lparen\\left\\lvert P ...",
"is_translate": false,
"language": "English"
}
]
}