QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#688580#8420. CiphertextqiuzxWA 1ms4196kbC++202.4kb2024-10-30 11:11:592024-10-30 11:12:03

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 3960kb

input:

3
CACB
011
1
001

output:

2

result:

ok 1 number(s): "2"

Test #2:

score: 0
Accepted
time: 1ms
memory: 3896kb

input:

3
ACBABCAACABCAACC
0
10
110

output:

-1

result:

ok 1 number(s): "-1"

Test #3:

score: 0
Accepted
time: 0ms
memory: 3956kb

input:

2
ABABABBAAAABAB
0
1

output:

-1

result:

ok 1 number(s): "-1"

Test #4:

score: 0
Accepted
time: 1ms
memory: 3840kb

input:

4
ACBDBCABCDBCABDBCABADBCDDACABCDBCDABCADBCA
01
1011
000
110

output:

128

result:

ok 1 number(s): "128"

Test #5:

score: -100
Wrong Answer
time: 1ms
memory: 4196kb

input:

4
CADCCACCBD
1110
1111
110
0

output:

27

result:

wrong answer 1st numbers differ - expected: '20', found: '27'