API Response (JSON)
{
"problem": {
"name": "B. Arpa’s obvious problem and Mehrdad’s terrible solution(Hard)",
"description": {
"content": "_There are some beautiful girls in Arpa’s land as mentioned before._ Once Arpa came up with an obvious problem: Given an array and a number x, count the number of pairs of indices i, j (1 ≤ i < j ≤ ",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 524288
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF10118B"
},
"statements": [
{
"statement_type": "Markdown",
"content": "_There are some beautiful girls in Arpa’s land as mentioned before._\n\nOnce Arpa came up with an obvious problem:\n\nGiven an array and a number x, count the number of pairs of indices i, j (1 ≤ i < j ≤ ...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z}^+ $, $ x \\in \\mathbb{Z}_{\\geq 0} $. \nLet $ A = (a_1, a_2, \\dots, a_n) $ be a sequence of non-negative integers, where each $ a_i \\in \\mathbb{Z}_{\\geq 0} $. \n...",
"is_translate": false,
"language": "Formal"
}
]
}