Skip to content

Commit 6286e86

Browse files
committed
add stateTable
1 parent 04442fc commit 6286e86

File tree

1 file changed

+69
-0
lines changed

1 file changed

+69
-0
lines changed

src/sfconfig.js

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,74 @@ export default {
6868
value: '18',
6969
label: 'Java'
7070
}],
71+
stateTable: [{
72+
value: '0',
73+
label: 'Waiting',
74+
color: '#909399'
75+
}, {
76+
value: '1',
77+
label: 'Compiling',
78+
color: '#f7ba2a'
79+
}, {
80+
value: '2',
81+
label: 'Judging',
82+
color: '#409eff'
83+
}, {
84+
value: '3',
85+
label: 'Waiting',
86+
color: '#909399'
87+
}, {
88+
value: '10',
89+
label: 'Accepted',
90+
color: '#67C23A'
91+
}, {
92+
value: '11',
93+
label: 'Partly Correct',
94+
color: '#F7BA2A'
95+
}, {
96+
value: '12',
97+
label: 'Time Limit Exceed',
98+
color: '#F7BA2A'
99+
}, {
100+
value: '13',
101+
label: 'Memory Limit Exceeded',
102+
color: '#324057'
103+
}, {
104+
value: '14',
105+
label: 'Runtime Error',
106+
color: '#324057'
107+
}, {
108+
value: '15',
109+
label: 'Wrong Answer',
110+
color: '#F56C6C'
111+
}, {
112+
value: '16',
113+
label: 'Unknown Error',
114+
color: '#324057'
115+
}, {
116+
value: '17',
117+
label: 'Compile Error',
118+
color: '#F7BA2A'
119+
}, {
120+
value: '18',
121+
label: 'Output Limit Exceeded',
122+
color: '#F56C6C'
123+
}, {
124+
value: '20',
125+
label: 'System Error',
126+
color: '#FF4949'
127+
}, {
128+
value: '21',
129+
label: 'Judger Configure Error',
130+
color: '#FF4949'
131+
}, {
132+
value: '22',
133+
label: 'Judger Resources Limit Exceeded',
134+
color: '#FF4949'
135+
}, {
136+
value: '23',
137+
label: 'Unsupported Language',
138+
color: '#FF4949'
139+
}],
71140
captchaKeyMax: 2000000000
72141
};

0 commit comments

Comments
 (0)