mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
vjudge: codeforces: ignore 1510G
This commit is contained in:
1 parent
df5682333c
commit
43b248009f
3 files changed
+4
-2
No files matched your search
@@ -39,6 +39,7 @@ class Service {
|
||||
for (const pid of pids) {
|
||||
if (await ProblemModel.get(domainId, pid)) continue;
|
||||
const res = await this.api.getProblem(pid);
|
||||
if (!res) continue;
|
||||
const id = await ProblemModel.add(domainId, pid, res.title, res.content, 1, res.tag, false);
|
||||
for (const key in res.files) {
|
||||
await ProblemModel.addAdditionalFile(domainId, id, key, res.files[key]);
|
||||
|
||||
Reference in new issue
Block a user