QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#78818 | #2931. Tri-Color Puzzle | GuanYunchang | TL | 38ms | 3492kb | C++11 | 1.8kb | 2023-02-20 02:32:06 | 2023-02-20 02:32:06 |
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: 2ms
memory: 3408kb
input:
4 4 1 1 0 2 1 2 4 1 2 4 4 2
output:
0
result:
ok single line: '0'
Test #2:
score: 0
Accepted
time: 2ms
memory: 3388kb
input:
4 4 1 1 1 2 1 2 4 1 2 3 3 2
output:
1
result:
ok single line: '1'
Test #3:
score: 0
Accepted
time: 1ms
memory: 3404kb
input:
4 4 1 1 0 2 1 1 4 1 0 4 4 0
output:
3
result:
ok single line: '3'
Test #4:
score: 0
Accepted
time: 2ms
memory: 3432kb
input:
6 4 1 1 0 2 2 0 5 1 1 5 5 2
output:
9
result:
ok single line: '9'
Test #5:
score: 0
Accepted
time: 2ms
memory: 3396kb
input:
17 16 3 2 2 4 4 0 5 2 1 6 4 1 8 5 2 8 8 2 11 1 2 11 7 0 12 4 2 12 10 2 12 11 0 13 11 2 14 5 2 14 8 0 16 7 0 17 5 1
output:
3
result:
ok single line: '3'
Test #6:
score: 0
Accepted
time: 0ms
memory: 3392kb
input:
11 9 2 2 2 5 3 0 6 5 2 9 7 1 10 10 1 11 4 1 11 7 0 11 10 1 11 11 2
output:
0
result:
ok single line: '0'
Test #7:
score: 0
Accepted
time: 2ms
memory: 3404kb
input:
4 4 2 1 1 4 1 2 4 3 1 4 4 2
output:
1
result:
ok single line: '1'
Test #8:
score: 0
Accepted
time: 38ms
memory: 3408kb
input:
16 7 6 3 0 9 5 0 11 11 2 12 7 1 13 10 2 14 7 0 15 10 1
output:
19683
result:
ok single line: '19683'
Test #9:
score: 0
Accepted
time: 2ms
memory: 3492kb
input:
10 4 4 3 2 8 2 2 8 6 1 9 5 0
output:
729
result:
ok single line: '729'
Test #10:
score: 0
Accepted
time: 2ms
memory: 3364kb
input:
18 29 4 1 2 6 5 0 7 3 2 7 5 0 8 6 1 9 1 0 9 6 1 10 1 0 10 2 0 10 3 0 10 6 1 11 2 2 11 8 2 11 11 0 13 8 0 14 3 1 14 5 1 14 6 1 14 9 0 14 12 0 15 4 1 15 7 1 15 11 1 15 14 2 16 8 1 16 9 0 16 15 2 18 6 1 18 16 2
output:
1
result:
ok single line: '1'
Test #11:
score: 0
Accepted
time: 2ms
memory: 3380kb
input:
5 5 3 2 0 3 3 1 4 1 1 5 1 0 5 3 0
output:
1
result:
ok single line: '1'
Test #12:
score: 0
Accepted
time: 2ms
memory: 3380kb
input:
11 8 4 3 0 6 3 1 6 5 0 6 6 1 7 3 2 10 3 0 10 7 0 11 11 2
output:
27
result:
ok single line: '27'
Test #13:
score: 0
Accepted
time: 2ms
memory: 3428kb
input:
6 6 2 2 1 3 1 0 3 3 1 5 5 1 6 1 1 6 5 1
output:
1
result:
ok single line: '1'
Test #14:
score: 0
Accepted
time: 2ms
memory: 3428kb
input:
11 7 3 2 0 3 3 2 5 1 0 7 3 2 10 1 1 10 6 2 10 8 0
output:
81
result:
ok single line: '81'
Test #15:
score: 0
Accepted
time: 0ms
memory: 3488kb
input:
8 7 3 1 2 4 2 1 5 2 0 5 3 1 5 4 0 6 3 2 8 8 2
output:
0
result:
ok single line: '0'
Test #16:
score: -100
Time Limit Exceeded
input:
19 5 9 7 0 11 10 0 18 9 0 19 10 1 19 17 0