API Response (JSON)
{
"problem": {
"name": "G. Shortest Path Queries",
"description": {
"content": "You are given an undirected connected graph with weighted edges. The length of some path between two vertices is the bitwise xor of weights of all edges belonging to this path (if some edge is travers",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 3000,
"memory_limit": 524288
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF938G"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given an undirected connected graph with weighted edges. The length of some path between two vertices is the bitwise xor of weights of all edges belonging to this path (if some edge is travers...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "给定一个带权无向连通图。两点间某条路径的长度定义为该路径上所有边权的异或和(若某条边被经过多次,则在异或和中被包含相同次数)。\n\n你需要处理三种类型的查询:\n\n请输出所有类型为 #cf_span[3] 的查询的答案。\n\n第一行包含两个数 #cf_span[n] 和 #cf_span[m](#cf_span[1 ≤ n, m ≤ 200000]),分别表示图的顶点数和边数。\n\n接下来 #cf_spa...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ G = (V, E) $ be an undirected connected graph with $ |V| = n $, $ |E| = m $. \nEach edge $ e = (x, y) \\in E $ has a weight $ w(e) \\in \\mathbb{Z} $, $ 0 \\le w(e) \\le 2^{30} - 1 ...",
"is_translate": false,
"language": "Formal"
}
]
}