API Response (JSON)
{
"problem": {
"name": "G. Shortest Path Problem?",
"description": {
"content": "You are given an undirected 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 traversed more th",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 3000,
"memory_limit": 524288
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF845G"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given an undirected 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 traversed more th...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "你被给定一个带权无向图。两点间某条路径的长度定义为该路径上所有边权的异或和(若某条边被经过多次,则在异或和中被包含相同次数)。你需要找到顶点 #cf_span[1] 与顶点 #cf_span[n] 之间的最短路径长度。\n\n*注意:图中可能包含重边和自环。保证图是连通的。*\n\n第一行包含两个整数 #cf_span[n] 和 #cf_span[m](#cf_span[1 ≤ n ≤ 100000],#...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ G = (V, E) $ be an undirected graph with: \n- $ V = \\{1, 2, \\dots, n\\} $: set of vertices, \n- $ E \\subseteq V \\times V \\times \\mathbb{Z}_{\\geq 0} $: set of weighted edges, whe...",
"is_translate": false,
"language": "Formal"
}
]
}