fix: hydro_pid 修正为 1021(HydroOJ 题目无 P 前缀)

这个提交包含在:
langxm
2026-10-13 18:00:36 +08:00
父节点 4ed9688158
当前提交 7c873bda2c
共修改 2 个文件,包含 3 行新增和 3 行删除
+2 -2
查看文件
@@ -29,11 +29,11 @@ class ProblemRepo:
def seed_defaults(self) -> None:
"""M1 种子题目:P1021 最大值位置(含选择题 + 公式解释 + 测试点)。"""
if self.get_by_hydro_pid("P1021"):
if self.get_by_hydro_pid("1021"):
return
self.session.add(
Problem(
hydro_pid="P1021",
hydro_pid="1021",
title="最大值位置",
course="ap-csa",
unit="04 for循环与数组",