mirror of
https://github.com/cfngc4594/monaco-editor-lsp-next.git
synced 2025-05-18 15:26:36 +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])
|
||||
}
|
||||
|
||||
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 {
|
||||
userId String
|
||||
type String
|
||||
|
Loading…
Reference in New Issue
Block a user