API Response (JSON)
{
"problem": {
"name": "懂事时理解原神",
"description": {
"content": "具体地,给定一个有 $n$ 个点和 $m$ 条边的无向无权图。则 dfs 求最短路的算法伪代码具体如下: ``` vis[], dis[] dfs(u): \tvis[u] = 1 \t记所有满足 u,v 之间有边且 !vis[v] 的点 v 构成的序列为 S \t以随机的顺序遍历 S: \t\tdis[v] = dis[u] + 1 \t\tdfs(v) solve(): \tfor i in [1, n]",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 3000,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P3"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP8881"
},
"statements": [
{
"statement_type": "Markdown",
"content": "具体地,给定一个有 $n$ 个点和 $m$ 条边的无向无权图。则 dfs 求最短路的算法伪代码具体如下:\n\n```\nvis[], dis[]\ndfs(u):\n\tvis[u] = 1\n\t记所有满足 u,v 之间有边且 !vis[v] 的点 v 构成的序列为 S\n\t以随机的顺序遍历 S: \n\t\tdis[v] = dis[u] + 1\n\t\tdfs(v)\nsolve():\n\tfor i in [1, n]...",
"is_translate": false,
"language": "English"
}
]
}