mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 07:16:34 +00:00
feat(prisma): add ExitCode enum for handling problem outcomes
This commit is contained in:
parent
f34a01e8f5
commit
2e7f9540fe
@ -98,6 +98,17 @@ model Template {
|
|||||||
@@id([problemId, language])
|
@@id([problemId, language])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
enum ExitCode {
|
||||||
|
SE // System Error
|
||||||
|
CS // Compilation Success
|
||||||
|
CE // Compilation Error
|
||||||
|
TLE // Time Limit Exceeded
|
||||||
|
MLE // Memory Limit Exceeded
|
||||||
|
RE // Runtime Error
|
||||||
|
AC // Accepted
|
||||||
|
WA // Wrong Answer
|
||||||
|
}
|
||||||
|
|
||||||
model Account {
|
model Account {
|
||||||
userId String
|
userId String
|
||||||
type String
|
type String
|
||||||
|
Loading…
Reference in New Issue
Block a user