API Response (JSON)
{
"problem": {
"name": "G. Xor-MST",
"description": {
"content": "You are given a complete undirected graph with _n_ vertices. A number _a__i_ is assigned to each vertex, and the weight of an edge between vertices _i_ and _j_ is equal to _a__i_ _xor_ _a__j_. Calcul",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF888G"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given a complete undirected graph with _n_ vertices. A number _a__i_ is assigned to each vertex, and the weight of an edge between vertices _i_ and _j_ is equal to _a__i_ _xor_ _a__j_.\n\nCalcul...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "给定一个具有 #cf_span[n] 个顶点的完全无向图。每个顶点被分配了一个数 #cf_span[ai],且顶点 #cf_span[i] 与顶点 #cf_span[j] 之间的边的权重等于 #cf_span[ai xor aj]。\n\n计算该图的最小生成树的权重。\n\n第一行包含 #cf_span[n] (#cf_span[1 ≤ n ≤ 200000]) —— 图中顶点的数量。\n\n第二行包含 #c...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "Given a complete undirected graph with $ n $ vertices, where each vertex $ i $ is assigned a value $ a_i \\in [0, 2^{30}) $, and the weight of edge $ (i, j) $ is $ a_i \\oplus a_j $ (XOR), compute the w...",
"is_translate": false,
"language": "Formal"
}
]
}