QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#313023 | #4988. Ace Arbiter | ZhangYiDe | AC ✓ | 0ms | 3676kb | C++20 | 1.0kb | 2024-01-24 15:34:25 | 2024-01-24 15:34:25 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3612kb
input:
5 0-0 1-0 1-0 2-0 1-2
output:
ok
result:
ok single line: 'ok'
Test #2:
score: 0
Accepted
time: 0ms
memory: 3620kb
input:
2 1-0 0-0
output:
error 2
result:
ok single line: 'error 2'
Test #3:
score: 0
Accepted
time: 0ms
memory: 3528kb
input:
4 11-0 11-0 11-1 11-11
output:
error 3
result:
ok single line: 'error 3'
Test #4:
score: 0
Accepted
time: 0ms
memory: 3532kb
input:
4 0-0 1-0 0-2 2-1
output:
error 3
result:
ok single line: 'error 3'
Test #5:
score: 0
Accepted
time: 0ms
memory: 3592kb
input:
1 1-5
output:
ok
result:
ok single line: 'ok'
Test #6:
score: 0
Accepted
time: 0ms
memory: 3672kb
input:
100 6-10 11-8 9-3 5-8 3-8 8-3 8-0 10-6 2-7 2-9 11-9 1-7 11-2 1-1 11-9 6-11 1-2 8-2 3-4 11-3 3-4 6-7 9-6 3-8 7-6 4-7 4-11 11-6 11-9 7-7 9-0 3-0 8-1 9-2 5-7 0-11 9-0 11-0 8-4 8-5 2-2 8-2 8-2 5-8 7-1 5-10 6-8 3-8 0-9 5-11 11-2 1-8 11-4 6-3 10-1 8-3 8-5 3-0 4-0 6-1 9-10 11-4 10-7 6-0 0-11 7-9 1-2 11-0 8...
output:
error 2
result:
ok single line: 'error 2'
Test #7:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
1 9-9
output:
ok
result:
ok single line: 'ok'
Test #8:
score: 0
Accepted
time: 0ms
memory: 3528kb
input:
30 1-1 1-1 1-1 1-1 1-2 3-4 3-4 4-4 4-4 4-4 5-4 4-7 4-7 4-7 5-7 5-7 8-5 8-5 8-5 9-5 9-5 9-5 9-5 9-5 6-9 7-9 9-8 10-8 9-11 9-11
output:
ok
result:
ok single line: 'ok'
Test #9:
score: 0
Accepted
time: 0ms
memory: 3536kb
input:
30 0-0 0-1 0-1 0-2 0-2 0-2 0-2 3-0 3-0 3-0 4-0 4-0 4-0 4-0 0-5 0-5 0-5 0-5 0-5 0-6 7-0 7-0 7-0 8-0 8-0 8-0 0-9 0-9 0-10 11-0
output:
ok
result:
ok single line: 'ok'
Test #10:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
30 1-0 1-0 1-1 2-1 2-2 2-2 3-2 3-3 3-4 3-4 3-4 3-4 3-4 4-4 5-4 5-4 5-4 5-5 6-6 6-6 7-7 7-8 9-8 9-8 9-9 9-10 10-10 10-11 10-11 10-11
output:
ok
result:
ok single line: 'ok'
Test #11:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
30 0-0 0-0 0-0 1-0 1-2 1-2 2-2 2-2 2-2 2-2 3-4 3-5 3-5 3-5 6-3 7-3 7-1 3-8 3-8 4-8 4-8 9-4 9-4 5-10 6-10 6-10 6-10 10-7 9-10 9-11
output:
error 17
result:
ok single line: 'error 17'
Test #12:
score: 0
Accepted
time: 0ms
memory: 3676kb
input:
30 0-0 0-0 0-0 0-1 0-1 0-1 0-2 1-2 0-2 3-0 4-0 4-0 4-0 4-0 4-0 0-5 0-5 0-6 0-6 7-0 7-0 8-0 0-9 0-9 0-10 0-10 0-10 0-10 11-0 11-0
output:
error 8
result:
ok single line: 'error 8'
Test #13:
score: 0
Accepted
time: 0ms
memory: 3592kb
input:
30 1-1 1-1 2-1 2-1 2-2 2-3 3-3 3-3 4-3 4-4 5-4 5-6 6-6 6-6 6-6 7-7 7-7 7-8 7-8 7-8 8-8 8-8 8-8 8-8 9-8 9-9 9-9 10-9 10-11 10-11
output:
ok
result:
ok single line: 'ok'
Test #14:
score: 0
Accepted
time: 0ms
memory: 3556kb
input:
30 0-0 0-0 1-0 1-1 1-2 1-3 3-2 4-2 2-5 2-5 2-5 3-5 6-3 6-3 6-4 6-4 4-7 4-7 7-6 8-6 6-9 6-9 6-9 6-9 6-9 7-9 7-9 8-11 8-11 8-11
output:
ok
result:
ok single line: 'ok'
Test #15:
score: 0
Accepted
time: 0ms
memory: 3556kb
input:
30 0-1 0-1 0-2 3-0 3-0 3-0 3-0 4-0 0-5 0-5 0-5 0-5 0-5 0-6 0-6 0-6 7-0 7-0 7-0 8-0 0-9 0-9 0-9 0-10 0-10 0-10 0-10 11-0 11-0 11-0
output:
ok
result:
ok single line: 'ok'
Test #16:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
30 1-0 1-0 1-0 1-1 1-1 1-1 1-2 1-2 1-2 1-2 1-2 1-2 2-2 3-3 3-3 4-3 4-3 4-3 4-3 5-5 6-6 6-6 7-6 7-6 7-7 7-8 8-9 9-9 10-10 11-10
output:
ok
result:
ok single line: 'ok'
Test #17:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
4 11-0 11-1 2-11 3-11
output:
error 2
result:
ok single line: 'error 2'
Test #18:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
1 11-11
output:
error 1
result:
ok single line: 'error 1'
Test #19:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
100 0-0 0-0 0-0 0-0 0-0 0-0 1-0 1-0 1-0 1-0 1-0 1-0 2-0 2-0 2-0 2-0 2-0 0-3 0-3 0-3 0-3 0-3 0-3 0-3 0-3 0-3 0-3 0-4 0-4 0-4 0-4 5-0 5-0 5-0 5-0 5-0 5-0 6-0 6-0 6-0 6-0 0-7 0-7 0-7 0-7 1-7 1-7 1-7 1-7 1-7 1-7 1-7 8-1 8-1 8-1 8-1 8-2 8-2 8-2 8-2 8-2 8-2 8-2 8-2 3-8 3-8 3-8 3-8 3-9 3-9 3-9 3-9 3-9 9-4 ...
output:
ok
result:
ok single line: 'ok'
Test #20:
score: 0
Accepted
time: 0ms
memory: 3556kb
input:
100 0-0 0-0 0-0 0-1 0-1 0-1 0-1 0-1 0-1 0-1 0-1 0-1 1-1 1-1 1-1 1-1 1-1 1-1 1-1 1-1 1-2 1-2 1-2 2-2 2-2 2-2 3-2 3-2 3-2 3-2 3-3 3-3 3-3 3-3 3-4 3-4 3-4 3-4 3-4 3-4 4-4 4-4 5-4 5-4 5-4 5-4 5-4 5-4 5-4 5-4 5-4 5-4 5-5 5-5 6-5 6-5 6-5 6-6 6-6 6-6 6-6 6-7 6-7 6-7 6-7 7-7 7-7 7-7 7-7 7-7 7-8 7-8 7-8 7-8 ...
output:
ok
result:
ok single line: 'ok'
Test #21:
score: 0
Accepted
time: 0ms
memory: 3528kb
input:
44 0-0 0-0 0-0 0-0 1-0 1-0 2-0 2-0 1-2 1-2 2-2 2-2 3-2 3-2 3-2 4-2 4-2 2-5 2-6 2-6 7-2 8-2 2-9 2-9 3-9 3-9 3-9 9-4 9-4 9-4 9-4 9-5 9-5 9-5 5-10 5-10 5-10 5-10 6-10 6-10 6-10 11-7 11-7 11-7
output:
ok
result:
ok single line: 'ok'
Test #22:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
40 0-0 0-0 0-1 1-1 2-0 2-0 2-0 1-2 1-3 1-3 1-3 4-1 4-2 4-2 4-2 4-2 4-2 4-2 3-4 3-4 4-4 5-4 6-4 6-4 6-4 4-7 4-7 8-5 8-5 8-6 8-6 8-8 8-8 8-8 8-9 8-9 8-10 11-9 11-9 11-9
output:
error 5
result:
ok single line: 'error 5'
Test #23:
score: 0
Accepted
time: 0ms
memory: 3528kb
input:
26 1-0 1-2 2-3 2-3 3-3 3-3 3-4 4-4 4-4 4-4 4-4 5-4 5-4 5-5 5-5 6-5 7-5 6-5 6-5 7-5 7-5 5-8 5-9 10-5 10-5 11-5
output:
error 18
result:
ok single line: 'error 18'
Test #24:
score: 0
Accepted
time: 0ms
memory: 3592kb
input:
67 0-0 0-1 0-1 0-1 0-1 0-1 0-2 0-2 0-2 0-2 0-2 0-2 3-0 3-0 3-0 4-0 4-0 4-0 4-0 4-0 4-0 4-0 0-5 0-5 0-5 0-5 0-5 0-6 0-6 0-6 0-6 0-6 0-6 0-6 7-0 7-0 7-1 7-1 7-1 7-1 7-1 2-7 2-8 8-5 8-3 8-3 8-3 8-3 8-3 8-3 8-4 8-4 8-4 8-4 4-9 4-9 5-9 5-9 5-7 5-9 10-5 10-5 10-5 10-5 10-5 11-5 11-5
output:
error 44
result:
ok single line: 'error 44'
Test #25:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
89 0-0 0-0 0-0 0-0 0-0 0-0 0-0 0-0 0-0 0-0 0-0 0-0 0-0 0-0 0-0 1-0 1-0 1-0 1-0 1-0 1-0 1-0 1-0 1-0 1-0 1-0 2-0 2-0 2-0 2-0 0-3 0-3 0-3 0-3 0-3 0-4 0-4 0-4 0-4 0-4 0-4 0-4 0-4 5-0 5-0 5-0 5-0 6-0 6-0 6-0 6-0 6-0 6-0 6-0 0-7 0-7 1-7 0-7 0-7 0-7 0-7 0-7 0-7 0-8 0-8 0-8 0-8 0-8 9-0 9-0 9-0 9-0 9-0 9-0 9...
output:
error 58
result:
ok single line: 'error 58'
Test #26:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
88 0-0 0-0 0-0 0-1 0-1 0-1 0-1 0-1 1-1 1-1 2-1 2-1 2-1 2-2 2-2 2-2 2-2 3-2 3-2 3-2 3-2 3-2 3-3 3-3 3-3 3-4 3-4 3-4 3-4 4-4 4-4 4-4 4-4 4-4 5-4 5-4 5-4 5-4 5-4 5-4 5-4 5-4 5-5 5-5 5-5 5-5 5-5 5-5 6-5 6-5 6-5 6-6 6-6 6-6 6-6 6-7 6-7 6-7 6-7 6-7 6-7 7-7 7-7 7-7 7-8 7-8 7-8 8-8 8-8 8-9 8-9 8-9 8-9 8-9 9...
output:
ok
result:
ok single line: 'ok'
Test #27:
score: 0
Accepted
time: 0ms
memory: 3528kb
input:
77 0-0 0-0 0-1 0-0 0-0 0-0 0-0 0-0 0-0 0-0 0-0 0-0 0-0 1-0 1-0 1-0 1-0 1-0 1-0 1-0 1-0 2-1 2-0 2-0 2-0 2-0 0-3 0-3 0-4 0-3 0-3 0-4 0-4 5-0 5-0 5-0 5-0 5-0 5-0 5-0 5-0 5-0 6-0 6-0 6-0 7-0 1-7 0-7 0-7 0-7 0-7 0-7 0-8 0-8 0-11 0-8 0-8 0-8 0-8 0-8 0-8 9-0 9-0 9-0 9-0 9-0 9-0 9-0 10-0 10-0 10-0 9-0 10-0 ...
output:
error 4
result:
ok single line: 'error 4'
Test #28:
score: 0
Accepted
time: 0ms
memory: 3556kb
input:
10 2-0 0-0 0-0 3-0 4-0 0-5 8-0 0-9 0-9 11-0
output:
error 2
result:
ok single line: 'error 2'
Test #29:
score: 0
Accepted
time: 0ms
memory: 3560kb
input:
76 0-0 0-0 0-0 0-0 0-0 0-0 0-0 0-0 0-0 0-1 0-1 0-1 0-1 0-1 0-1 0-1 0-1 0-1 0-2 0-2 3-0 3-0 3-0 3-0 3-0 3-0 3-0 3-0 3-0 3-0 4-0 4-0 0-0 4-0 4-0 4-0 4-0 4-0 0-5 0-5 0-5 0-5 1-5 0-5 0-6 0-6 0-6 0-6 0-6 0-6 7-0 7-0 7-0 7-0 8-0 7-0 7-0 8-0 8-0 0-9 0-9 0-9 0-10 0-10 0-10 0-10 0-10 0-10 0-10 0-10 11-0 11-0...
output:
error 33
result:
ok single line: 'error 33'
Test #30:
score: 0
Accepted
time: 0ms
memory: 3536kb
input:
10 1-0 3-0 0-3 0-3 0-3 5-0 6-0 0-6 0-7 0-8
output:
error 2
result:
ok single line: 'error 2'
Test #31:
score: 0
Accepted
time: 0ms
memory: 3560kb
input:
16 1-1 2-1 3-2 3-2 3-3 3-3 4-5 5-5 8-5 8-5 9-6 8-6 10-6 10-8 7-10 7-10
output:
error 11
result:
ok single line: 'error 11'
Test #32:
score: 0
Accepted
time: 0ms
memory: 3604kb
input:
93 0-0 0-0 0-0 0-0 0-1 0-1 0-1 0-1 0-2 0-2 0-2 2-1 2-1 2-1 2-1 2-1 2-1 2-2 2-2 2-2 2-2 2-2 2-2 2-2 2-2 2-2 3-2 3-2 3-2 3-2 3-3 3-3 3-3 3-3 3-3 3-3 3-3 3-3 3-3 3-4 3-5 3-5 3-5 3-5 3-5 5-4 5-4 5-4 6-4 6-4 6-4 5-6 5-6 5-6 5-6 5-6 5-7 5-7 5-7 5-7 5-7 5-7 5-7 8-5 8-5 8-5 8-5 8-5 9-5 9-5 9-5 9-5 6-9 6-9 6...
output:
ok
result:
ok single line: 'ok'
Test #33:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
26 0-0 0-0 0-0 0-1 0-1 0-2 0-2 0-2 3-0 3-0 3-0 3-0 3-0 4-0 4-0 4-0 4-0 0-4 0-6 7-0 7-0 0-9 0-10 0-10 0-10 11-0
output:
error 18
result:
ok single line: 'error 18'
Test #34:
score: 0
Accepted
time: 0ms
memory: 3596kb
input:
22 0-0 0-1 0-1 0-1 0-1 1-1 1-1 3-1 1-4 1-4 4-3 4-5 4-3 4-4 4-4 5-4 5-6 5-5 6-5 9-6 6-11 7-11
output:
error 13
result:
ok single line: 'error 13'
Test #35:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
51 0-0 0-1 0-1 0-1 0-1 0-1 0-1 0-2 0-2 0-2 3-0 3-0 3-0 3-0 3-0 3-0 3-0 3-0 3-1 4-0 4-0 4-0 4-0 4-0 4-0 4-0 4-0 0-5 0-5 0-5 0-6 0-6 0-6 0-6 0-6 0-6 7-0 7-0 8-0 8-0 8-0 8-0 0-9 8-0 0-9 0-10 0-10 0-10 0-10 11-0 11-0
output:
error 20
result:
ok single line: 'error 20'
Test #36:
score: 0
Accepted
time: 0ms
memory: 3532kb
input:
81 0-0 0-0 0-0 0-0 0-0 0-0 0-1 0-1 1-1 1-1 1-1 1-1 1-1 1-1 3-1 2-1 2-1 2-1 2-1 2-1 3-1 3-1 1-4 1-4 2-4 2-4 5-2 5-2 5-2 5-2 5-2 5-2 5-2 5-2 5-3 5-3 5-3 3-6 3-6 3-6 3-6 3-6 3-6 3-7 3-7 3-7 3-7 3-7 3-7 8-3 8-3 8-3 8-3 8-3 8-3 8-3 8-3 8-4 8-4 8-4 8-4 5-9 5-9 5-9 5-9 9-6 9-6 10-6 10-6 10-6 10-6 10-6 10-6...
output:
error 16
result:
ok single line: 'error 16'
Test #37:
score: 0
Accepted
time: 0ms
memory: 3528kb
input:
50 0-0 0-0 0-0 0-0 0-0 0-1 0-1 0-2 0-2 2-1 2-1 2-1 2-1 3-1 3-1 3-1 1-4 1-4 1-5 1-5 5-2 5-2 5-3 5-3 4-5 4-5 4-6 7-4 7-5 7-5 7-5 7-5 6-7 8-8 8-8 9-8 9-8 10-8 9-10 9-10 9-10 9-10 10-10 10-10 10-10 10-10 10-10 10-11 10-11 10-11
output:
ok
result:
ok single line: 'ok'
Test #38:
score: 0
Accepted
time: 0ms
memory: 3532kb
input:
18 2-1 0-1 0-2 3-0 3-1 6-0 4-0 0-5 0-6 7-3 8-0 0-9 0-9 0-9 0-7 0-10 0-10 0-10
output:
error 2
result:
ok single line: 'error 2'
Test #39:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
58 0-0 0-0 0-0 1-0 1-0 1-0 1-0 1-0 1-0 1-0 1-0 1-1 2-0 2-0 2-0 2-0 0-3 0-3 0-3 0-3 0-4 0-4 0-4 0-4 0-4 0-4 5-0 5-0 5-0 6-0 6-0 6-0 6-0 6-0 0-7 0-7 0-7 0-8 0-8 0-8 0-8 0-8 0-8 0-8 9-0 9-0 9-0 9-0 9-0 9-0 10-0 9-0 10-0 10-0 10-0 10-0 0-11 0-11
output:
error 13
result:
ok single line: 'error 13'
Test #40:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
99 0-0 0-0 0-0 0-0 0-0 0-0 0-0 0-0 1-0 1-0 1-0 1-0 1-1 1-1 1-1 1-1 1-1 1-1 1-1 1-2 1-2 1-2 1-2 1-2 1-2 1-3 1-3 1-3 1-3 1-3 1-3 1-3 4-1 4-0 4-1 4-1 4-1 4-1 4-1 5-1 5-1 5-1 5-1 5-1 5-1 5-1 5-1 5-1 5-1 1-6 1-6 1-6 1-6 1-6 1-6 1-6 1-7 1-7 1-7 1-7 1-7 1-7 8-1 8-1 8-1 9-1 9-1 9-1 9-1 9-1 9-2 9-1 9-1 9-1 9...
output:
error 34
result:
ok single line: 'error 34'