API Response (JSON)
{
"problem": {
"name": "F. Pathwalks",
"description": {
"content": "You are given a directed graph with _n_ nodes and _m_ edges, with all edges having a certain weight. There might be multiple edges and self loops, and the graph can also be disconnected. You need to",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF960F"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given a directed graph with _n_ nodes and _m_ edges, with all edges having a certain weight.\n\nThere might be multiple edges and self loops, and the graph can also be disconnected.\n\nYou need to...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "你被给定一个有 #cf_span[n] 个节点和 #cf_span[m] 条边的有向图,所有边都具有特定的权重。\n\n图中可能存在多重边和自环,图也可能不连通。\n\n你需要在图中选择一条路径(可以多次经过同一顶点),使得边的权重严格递增,并且这些边必须按照输入顺序出现。在所有满足条件的路径中,你需要找到边数最多的那条路径,并报告这个最大值。\n\n请注意,所选的边不必在输入中连续。\n\n第一行包含两个整数 ...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ G = (V, E) $ be a directed multigraph with: \n- $ V = \\{1, 2, \\dots, n\\} $: set of vertices, \n- $ E = \\{e_1, e_2, \\dots, e_m\\} $: sequence of directed edges, where each $ e_i ...",
"is_translate": false,
"language": "Formal"
}
]
}