mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
utils: add STATUS_SHORT_TEXTS
This commit is contained in:
1 parent
218a14b91e
commit
625478ac3a
5 files changed
+18
-3
No files matched your search
@@ -36,6 +36,20 @@ export const STATUS_TEXTS = {
|
||||
[STATUS.STATUS_IGNORED]: 'Ignored',
|
||||
};
|
||||
|
||||
export const STATUS_SHORT_TEXTS = {
|
||||
[STATUS.STATUS_ACCEPTED]: 'AC',
|
||||
[STATUS.STATUS_WRONG_ANSWER]: 'WA',
|
||||
[STATUS.STATUS_TIME_LIMIT_EXCEEDED]: 'TLE',
|
||||
[STATUS.STATUS_MEMORY_LIMIT_EXCEEDED]: 'MLE',
|
||||
[STATUS.STATUS_OUTPUT_LIMIT_EXCEEDED]: 'OLE',
|
||||
[STATUS.STATUS_RUNTIME_ERROR]: 'RE',
|
||||
[STATUS.STATUS_COMPILE_ERROR]: 'CE',
|
||||
[STATUS.STATUS_SYSTEM_ERROR]: 'SE',
|
||||
[STATUS.STATUS_CANCELED]: 'IGN',
|
||||
[STATUS.STATUS_HACKED]: 'HK',
|
||||
[STATUS.STATUS_IGNORED]: 'IGN',
|
||||
};
|
||||
|
||||
export const STATUS_CODES = {
|
||||
0: 'pending',
|
||||
1: 'pass',
|
||||
|
||||
Reference in new issue
Block a user