API Response (JSON)
{
"problem": {
"name": "[海淀区小学组 2024] 统计数对",
"description": {
"content": "陶陶是一个计算机爱好者,对二进制数有着特别的喜好,遇到各种各样的数据,他总能找到跟 $2$ 的整数次幂的关系。现在,他获得了一个长度为 $n$ 的数列 $a_1, a_2, \\dots, a_n$,他发现其中有些元素的和恰好是 $2$ 的整数次幂。对于给定的 $a_1, a_2, \\dots, a_n$,你的任务是统计有多少个数对 $(i, j)$ 满足 $a_i + a_j = 2^x$,其中 ",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 500,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P3"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGB4241"
},
"statements": [
{
"statement_type": "Markdown",
"content": "陶陶是一个计算机爱好者,对二进制数有着特别的喜好,遇到各种各样的数据,他总能找到跟 $2$ 的整数次幂的关系。现在,他获得了一个长度为 $n$ 的数列 $a_1, a_2, \\dots, a_n$,他发现其中有些元素的和恰好是 $2$ 的整数次幂。对于给定的 $a_1, a_2, \\dots, a_n$,你的任务是统计有多少个数对 $(i, j)$ 满足 $a_i + a_j = 2^x$,其中 ...",
"is_translate": false,
"language": "English"
}
]
}