QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#793292#7668. Game Strategyucup-team4744#WA 0ms3856kbC++201.2kb2024-11-29 18:21:332024-11-29 18:21:35

详细

Test #1:

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

input:

2
2 ab b
1 b

output:

0 1
-1 0

result:

ok 2 lines

Test #2:

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

input:

3
1 b
2 b a
2 ab ac

output:

0 1 -1
1 0 -1
2 2 0

result:

ok 3 lines

Test #3:

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

input:

1
1 a

output:

0

result:

ok single line: '0'

Test #4:

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

input:

1
1 a

output:

0

result:

ok single line: '0'

Test #5:

score: -100
Wrong Answer
time: 0ms
memory: 3820kb

input:

3
7 a b ab c ac bc abc
6 a abc ab c ac bc
2 ac c

output:

0 1 1
1 0 2
-1 -1 0

result:

wrong answer 2nd lines differ - expected: '1 0 1', found: '1 0 2'