1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
import type { ExecResult } from "./ExecResult"; export type SubmitResultStatus = | "running" | "success" | "wrong_answer" | "timeout" | "compile_error" | "runtime_error" | "internal_error"; export type SubmitResult = { status: SubmitResultStatus; execResults: ExecResult[]; };