API Response (JSON)
{
"problem": {
"name": "D. Substring",
"description": {
"content": "You are given a graph with $n$ nodes and $m$ **directed** edges. One lowercase letter is assigned to each node. We define a path's value as the number of the most frequently occurring letter. For exam",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 3000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF919D"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given a graph with $n$ nodes and $m$ **directed** edges. One lowercase letter is assigned to each node. We define a path's value as the number of the most frequently occurring letter. For exam...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "你被给定一个包含 $n$ 个节点和 $m$ 条有向边的图。每个节点被分配一个小写字母。我们定义一条路径的值为该路径上出现频率最高的字母的出现次数。例如,如果路径上的字母为 \"_abaca_\",则该路径的值为 $3$。你的任务是找到一条值最大的路径。\n\n第一行包含两个正整数 $n, m$ ($1 lt.eq n, m lt.eq 300 thin 000$),表示图中有 $n$ 个节点和 $m$ 条...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ G = (V, E) $ be a directed graph with $ n = |V| $ nodes and $ m = |E| $ edges. \nLet $ s \\in \\Sigma^n $ be a string of lowercase letters, where $ s_i $ is the letter assigned t...",
"is_translate": false,
"language": "Formal"
}
]
}