QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#306260#4999. AibohphobiAezteam1WA 1ms6188kbC++144.3kb2024-01-16 16:29:252024-01-16 16:29:26

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 6188kb

input:

3
3 5
abbba
bccab
cabcc
2
0 1
1 0
3 4
aaba
bbaa
abab
1
1 1
4 4
abca
cxxb
bxxc
acba
1
0 1

output:

9
9
-2
-1

result:

ok 4 lines

Test #2:

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

input:

20
2 5
bacba
aabbc
3
0 3
1 4
1 2
2 5
aacba
cbbac
8
0 3
1 2
1 2
1 0
1 2
0 2
0 0
0 0
4 4
aaac
caab
babb
ccba
8
2 0
3 2
2 1
2 1
1 3
2 2
1 2
3 1
4 3
bbb
ccc
abc
caa
3
2 0
0 0
3 2
3 3
cba
abc
bac
4
0 1
0 1
1 0
1 1
4 4
bcab
caba
cbcb
abca
1
1 1
5 4
baba
caba
aacb
abcb
caab
1
4 2
2 3
cab
aac
5
0 0
0 2
0 1
...

output:

6
6
-2
8
11
11
-2
11
8
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
7
7
7
7
-2
-2
4
4
4
4
4
4
4
-2
-2
4
4
-2
4
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
7
7
7
7
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-2
-...

result:

wrong answer 5th lines differ - expected: '8', found: '11'