API Response (JSON)
{
"problem": {
"name": "B. Arpa’s obvious problem and Mehrdad’s terrible solution",
"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",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF742B"
},
"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...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "_Arpa 的土地上有一些美丽的女孩,如前所述。_\n\n有一天,Arpa 提出了一个显而易见的问题:\n\n给定一个数组和一个数字 #cf_span[x],请计算满足条件的索引对 #cf_span[i, j](#cf_span[1 ≤ i < j ≤ n])的数量,其中 为按位 _xor_ 运算(详见注释解释)。\n\nMehrdad 立即发现了一个糟糕的解法,但没人信任它。现在 Arpa 需要你帮助实现...",
"is_translate": true,
"language": "Chinese"
},
{
"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 integers with $ a_i \\in \\mathbb{Z}^+ $.\n\n**Constraints** \n1. $ 1 \\le...",
"is_translate": false,
"language": "Formal"
}
]
}