API Response (JSON)
{
"problem": {
"name": "G. Permutant",
"description": {
"content": "Consider an $n times n$ matrix $A$. Let us denote element in $i$-th row and $j$-th column as $A^((i))_j$. You are given a sequence $a_1, \\\\dots, a_n$ and a permutation $pi_1, \\\\dots, pi_n$ such that ",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 3000,
"memory_limit": 524288
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF10212G"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Consider an $n times n$ matrix $A$. Let us denote element in $i$-th row and $j$-th column as $A^((i))_j$.\n\nYou are given a sequence $a_1, \\\\dots, a_n$ and a permutation $pi_1, \\\\dots, pi_n$ such that ...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z}^+ $, $ \\mathbf{a} = (a_1, \\dots, a_n) \\in \\mathbb{Z}^n $, and $ \\pi = (\\pi_1, \\dots, \\pi_n) \\in S_n $ be a permutation. \nDefine the $ n \\times n $ matrix $ A ...",
"is_translate": false,
"language": "Formal"
}
]
}