-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtestdatabase.yaml
547 lines (547 loc) · 11.7 KB
/
testdatabase.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
- model: auth.permission
pk: 1
fields:
name: Can add log entry
content_type: 1
codename: add_logentry
- model: auth.permission
pk: 2
fields:
name: Can change log entry
content_type: 1
codename: change_logentry
- model: auth.permission
pk: 3
fields:
name: Can delete log entry
content_type: 1
codename: delete_logentry
- model: auth.permission
pk: 4
fields:
name: Can view log entry
content_type: 1
codename: view_logentry
- model: auth.permission
pk: 5
fields:
name: Can add permission
content_type: 2
codename: add_permission
- model: auth.permission
pk: 6
fields:
name: Can change permission
content_type: 2
codename: change_permission
- model: auth.permission
pk: 7
fields:
name: Can delete permission
content_type: 2
codename: delete_permission
- model: auth.permission
pk: 8
fields:
name: Can view permission
content_type: 2
codename: view_permission
- model: auth.permission
pk: 9
fields:
name: Can add group
content_type: 3
codename: add_group
- model: auth.permission
pk: 10
fields:
name: Can change group
content_type: 3
codename: change_group
- model: auth.permission
pk: 11
fields:
name: Can delete group
content_type: 3
codename: delete_group
- model: auth.permission
pk: 12
fields:
name: Can view group
content_type: 3
codename: view_group
- model: auth.permission
pk: 13
fields:
name: Can add content type
content_type: 4
codename: add_contenttype
- model: auth.permission
pk: 14
fields:
name: Can change content type
content_type: 4
codename: change_contenttype
- model: auth.permission
pk: 15
fields:
name: Can delete content type
content_type: 4
codename: delete_contenttype
- model: auth.permission
pk: 16
fields:
name: Can view content type
content_type: 4
codename: view_contenttype
- model: auth.permission
pk: 17
fields:
name: Can add session
content_type: 5
codename: add_session
- model: auth.permission
pk: 18
fields:
name: Can change session
content_type: 5
codename: change_session
- model: auth.permission
pk: 19
fields:
name: Can delete session
content_type: 5
codename: delete_session
- model: auth.permission
pk: 20
fields:
name: Can view session
content_type: 5
codename: view_session
- model: auth.permission
pk: 21
fields:
name: Can add user
content_type: 6
codename: add_account
- model: auth.permission
pk: 22
fields:
name: Can change user
content_type: 6
codename: change_account
- model: auth.permission
pk: 23
fields:
name: Can delete user
content_type: 6
codename: delete_account
- model: auth.permission
pk: 24
fields:
name: Can view user
content_type: 6
codename: view_account
- model: auth.permission
pk: 25
fields:
name: Can add problem
content_type: 7
codename: add_problem
- model: auth.permission
pk: 26
fields:
name: Can change problem
content_type: 7
codename: change_problem
- model: auth.permission
pk: 27
fields:
name: Can delete problem
content_type: 7
codename: delete_problem
- model: auth.permission
pk: 28
fields:
name: Can view problem
content_type: 7
codename: view_problem
- model: auth.permission
pk: 29
fields:
name: Can view hidden problem
content_type: 7
codename: view_hidden
- model: auth.permission
pk: 30
fields:
name: Can download problem testdata
content_type: 7
codename: download_testdata
- model: auth.permission
pk: 31
fields:
name: Can add tag
content_type: 8
codename: add_tag
- model: auth.permission
pk: 32
fields:
name: Can change tag
content_type: 8
codename: change_tag
- model: auth.permission
pk: 33
fields:
name: Can delete tag
content_type: 8
codename: delete_tag
- model: auth.permission
pk: 34
fields:
name: Can view tag
content_type: 8
codename: view_tag
- model: auth.permission
pk: 35
fields:
name: Can add status
content_type: 9
codename: add_status
- model: auth.permission
pk: 36
fields:
name: Can change status
content_type: 9
codename: change_status
- model: auth.permission
pk: 37
fields:
name: Can delete status
content_type: 9
codename: delete_status
- model: auth.permission
pk: 38
fields:
name: Can view status
content_type: 9
codename: view_status
- model: auth.permission
pk: 39
fields:
name: Can add captcha store
content_type: 10
codename: add_captchastore
- model: auth.permission
pk: 40
fields:
name: Can change captcha store
content_type: 10
codename: change_captchastore
- model: auth.permission
pk: 41
fields:
name: Can delete captcha store
content_type: 10
codename: delete_captchastore
- model: auth.permission
pk: 42
fields:
name: Can view captcha store
content_type: 10
codename: view_captchastore
- model: auth.group
pk: 1
fields:
name: Problem Maker
permissions:
- 25
- 26
- 27
- 29
- 28
- 30
- 31
- 32
- 33
- 34
- model: contenttypes.contenttype
pk: 1
fields:
app_label: admin
model: logentry
- model: contenttypes.contenttype
pk: 2
fields:
app_label: auth
model: permission
- model: contenttypes.contenttype
pk: 3
fields:
app_label: auth
model: group
- model: contenttypes.contenttype
pk: 4
fields:
app_label: contenttypes
model: contenttype
- model: contenttypes.contenttype
pk: 5
fields:
app_label: sessions
model: session
- model: contenttypes.contenttype
pk: 6
fields:
app_label: account
model: account
- model: contenttypes.contenttype
pk: 7
fields:
app_label: problem
model: problem
- model: contenttypes.contenttype
pk: 8
fields:
app_label: problem
model: tag
- model: contenttypes.contenttype
pk: 9
fields:
app_label: status
model: status
- model: contenttypes.contenttype
pk: 10
fields:
app_label: captcha
model: captchastore
- model: account.account
pk: 1
fields:
password: pbkdf2_sha256$216000$5XJS9bsFSzFB$G9mK1c2Xwi4qy/E00x4Vx5JYV6oFtfK82iCZzRhABJc=
last_login: 2021-02-03 03:26:18+00:00
is_superuser: true
username: admin
email: admin@mail.soj.ac.cn
is_staff: true
is_active: true
date_joined: 2021-02-03 03:25:04+00:00
introduction: '# Hello World!'
lang: cxx;17,clang,O2
solved: 0
submit_time: 0
extra_data: '{a, b, c}'
is_judger: false
email_verified: false
groups: []
user_permissions: []
- model: account.account
pk: 2
fields:
password: pbkdf2_sha256$216000$1f4mAQVOOse1$vSsmiaKfeylbPGh1pAL33rEt/2yPkp4HUmL1uDFcJEQ=
last_login: 2021-02-03 03:52:03+00:00
is_superuser: false
username: fat
email: fat@mail.soj.ac.cn
is_staff: true
is_active: true
date_joined: 2021-02-03 03:27:08+00:00
introduction: '# Hello World!'
lang: cxx;17,clang,O2
solved: 0
submit_time: 0
extra_data: null
is_judger: false
email_verified: true
groups:
- 1
user_permissions: []
- model: account.account
pk: 3
fields:
password: pbkdf2_sha256$216000$ZZxigYfXOsMm$iHPOvlU3y2sYHEFpil0pD/xKDKsTJ71YPUayB1xlXhA=
last_login: 2021-02-03 03:52:20+00:00
is_superuser: false
username: szdytom
email: szdytom@mail.soj.ac.cn
is_staff: false
is_active: true
date_joined: 2021-02-03 03:43:06+00:00
introduction: '# Hello World!'
lang: cxx;17,clang,O2
solved: 0
submit_time: 0
extra_data: '{"szdytom": 1}'
is_judger: false
email_verified: false
groups: []
user_permissions: []
- model: account.account
pk: 4
fields:
password: pbkdf2_sha256$216000$lGQpwZiY515Y$peD6vEvfC+ABFEluC6OADkuB8eUANOUZYy4IsyUp28c=
last_login: 2021-02-02 22:00:00+00:00
is_superuser: false
username: forcesEqual
email: ''
is_staff: false
is_active: true
date_joined: 2021-02-02 16:00:00+00:00
introduction: '# Hello World!'
lang: cxx;17,clang,O2
solved: 0
submit_time: 0
extra_data: null
is_judger: true
email_verified: false
groups: []
user_permissions: []
- model: problem.tag
pk: 1
fields:
content: hard
color: blue
- model: problem.tag
pk: 2
fields:
content: system
color: blue
- model: problem.tag
pk: 3
fields:
content: easy
color: blue
- model: problem.tag
pk: 4
fields:
content: middle
color: blue
- model: problem.tag
pk: 5
fields:
content: SPJ
color: blue
- model: problem.tag
pk: 6
fields:
content: 中文
color: green
- model: problem.problem
pk: 1
fields:
title: A+B Problem
description: A+B
pid: 1
date_added: 2021-02-03 03:28:04.119655+00:00
last_edit: 2021-02-03 03:28:04.119655+00:00
allow_html: false
enabled: true
time_limit: 1000
memory_limit: 128000
testdata_url: 'http://tool.gzezfisher.top/file/testdata/38qLp7_pUGiOoonaUsJ_sySUSesfx3MreUPvRpvKuTQ.zip'
tags:
- 1
- model: problem.problem
pk: 2
fields:
title: Hello World!
description: "# Hello World!\r\noutput `Hello World!`"
pid: 2
date_added: 2021-02-03 03:28:42.254585+00:00
last_edit: 2021-02-03 03:28:42.254585+00:00
allow_html: false
enabled: true
time_limit: 1000
memory_limit: 128000
testdata_url: 'http://tool.gzezfisher.top/file/testdata/404_NOT_FOUND.zip'
tags:
- 1
- model: problem.problem
pk: 3
fields:
title: Large PID
description: Large PID Problem Test
pid: 1001
date_added: 2021-02-03 03:29:18.930612+00:00
last_edit: 2021-02-03 03:29:18.930612+00:00
allow_html: false
enabled: true
time_limit: 1000
memory_limit: 128000
testdata_url: null
tags:
- 1
- 2
- 3
- 5
- model: problem.problem
pk: 4
fields:
title: 中文测试
description: 中文测试
pid: 1002
date_added: 2021-02-03 03:30:29.193922+00:00
last_edit: 2021-02-03 03:30:29.193922+00:00
allow_html: false
enabled: true
time_limit: 1000000
memory_limit: 128000
testdata_url: null
tags:
- 1
- 6
- model: status.status
pk: 1
fields:
score: 100
state: 10
time: 4
memory: 1000
lang: 1
lang_info: 89,clang,O2
owner: 2
problem: 1
judge_by: 4
judge_time: 2021-02-03 03:32:17+00:00
code: "#include <stdio.h>\r\nint main() {\r\n int a, b;\r\n scanf(\"%d %d\"\
, &a, &b);\r\n printf(\"%d\\n\", a + b);\r\n return 0;\r\n}"
add_time: 2021-02-03 03:39:22.803047+00:00
detail: '{"cases":[{"id":0,"state":10,"time":1,"memory":1000,"input":"1 1","output":"2","answer":"2","score":50},{"id":1,"state":10,"time":3,"memory":1000,"input":"1
2","output":"3","answer":"3","score":50}]}'
additional_info: ''
- model: status.status
pk: 2
fields:
score: 50
state: 15
time: 2
memory: 1003
lang: 2
lang_info: 11,clang,O2
owner: 3
problem: 1
judge_by: 4
judge_time: 2021-02-03 03:43:17+00:00
code: "#include <cstdio>\r\nusing namespace std;\r\n\r\nint main() {\r\n printf(\"\
2\\n\");\r\n return 0;\r\n}"
add_time: 2021-02-03 03:45:50.441013+00:00
detail: '{"cases":[{"id":0,"state":10,"time":1,"memory":1000,"input":"1 1","output":"2","answer":"2","score":50},{"id":1,"state":15,"time":1,"memory":1003,"input":"1
2","output":"2","answer":"3","score":0}]}'
additional_info: ''
- model: status.status
pk: 3
fields:
score: 0
state: 21
time: 0
memory: 0
lang: 5
lang_info: null
owner: 3
problem: 2
judge_by: 4
judge_time: 2021-02-03 03:47:25+00:00
code: console.log("Hello World!");
add_time: 2021-02-03 03:48:22.744837+00:00
detail: ''
additional_info: 'File Error: Testdata not found.'