API Response (JSON)
{
"problem": {
"name": "[蓝桥杯 2021 国 AB] 异或三角",
"description": {
"content": "给定 $T$ 个数 $n_{1}, n_{2}, \\cdots, n_{T}$, 对每个 $n_{i}$ 请求出有多少组 $a, b, c$ 满足: 1. $1 \\leq a, b, c \\leq n_{i}$; 2. $a \\oplus b \\oplus c=0$ ,其中 $\\oplus$ 表示二进制按位异或; 3. 长度为 $a, b, c$ 的三条边能组成一个三角形。",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 1000,
"memory_limit": 131072
},
"difficulty": {
"LuoguStyle": "P5"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP8766"
},
"statements": [
{
"statement_type": "Markdown",
"content": "给定 $T$ 个数 $n_{1}, n_{2}, \\cdots, n_{T}$, 对每个 $n_{i}$ 请求出有多少组 $a, b, c$ 满足:\n\n1. $1 \\leq a, b, c \\leq n_{i}$;\n\n2. $a \\oplus b \\oplus c=0$ ,其中 $\\oplus$ 表示二进制按位异或;\n\n3. 长度为 $a, b, c$ 的三条边能组成一个三角形。\n\n## Inpu...",
"is_translate": false,
"language": "English"
}
]
}