add contest problem.

This commit is contained in:
2023-01-31 15:38:29 +08:00
parent 6aa722c64a
commit d5d6491d6d
16 changed files with 210 additions and 89 deletions

View File

@@ -102,6 +102,16 @@ export interface Problem {
my_status: number
}
export interface ProblemFiltered {
_id: string
title: string
difficulty: "简单" | "中等" | "困难"
tags: string[]
submission: number
rate: string
status: "not_test" | "passed" | "failed"
}
export interface Code {
language: LANGUAGE
value: string