API Response (JSON)
{
"problem": {
"name": "F. Bipartite Checking",
"description": {
"content": "You are given an undirected graph consisting of _n_ vertices. Initially there are no edges in the graph. Also you are given _q_ queries, each query either adds one undirected edge to the graph or remo",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 6000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF813F"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given an undirected graph consisting of _n_ vertices. Initially there are no edges in the graph. Also you are given _q_ queries, each query either adds one undirected edge to the graph or remo...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "给定一个包含 #cf_span[n] 个顶点的无向图。初始时图中没有边。同时给定 #cf_span[q] 个查询,每个查询要么添加一条无向边,要么删除它。在每次查询后,你需要判断所得图是否为二分图(即,能否将图的所有顶点染成两种颜色,使得没有任何一条边连接两个同色的顶点)。\n\n第一行包含两个整数 #cf_span[n] 和 #cf_span[q](#cf_span[2 ≤ n, q ≤ 10000...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n, q \\in \\mathbb{Z}^+ $ with $ 2 \\leq n, q \\leq 100000 $. \nLet $ G = (V, E) $ be an undirected graph with $ V = \\{1, 2, \\dots, n\\} $ and initially $ E = \\emptyset $. \nLet $ Q...",
"is_translate": false,
"language": "Formal"
}
]
}