API Response (JSON)
{
"problem": {
"name": "G. Magical Indices",
"description": {
"content": "Alaa sometimes feels bored at work, so at such times she starts playing with a beautiful array a consisting of n integers a1, a2, ..., an. Alaa starts counting the number of magical indices in the ar",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 3000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF10153G"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Alaa sometimes feels bored at work, so at such times she starts playing with a beautiful array a consisting of n integers a1, a2, ..., an.\n\nAlaa starts counting the number of magical indices in the ar...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ T \\in \\mathbb{Z} $ be the number of test cases. \nFor each test case $ k \\in \\{1, \\dots, T\\} $: \n- Let $ n_k \\in \\mathbb{Z} $ denote the size of the array. \n- Let $ A_k = (a_...",
"is_translate": false,
"language": "Formal"
}
]
}