QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#486184#6635. Strange Keyboarducup-team3627TL 11ms311104kbC++207.2kb2024-07-21 17:25:032024-07-21 17:25:03

詳細信息

Test #1:

score: 100
Accepted
time: 11ms
memory: 311104kb

input:

2
2 3
defgh
abc
abcde
1 1
a
b

output:

3
-1

result:

ok 2 number(s): "3 -1"

Test #2:

score: -100
Time Limit Exceeded

input:

1
1413 4867
yumnkkghwtqnhpmmsbfwypcwudihegsvtdaykueuqozagpgdnhbwzoqrqswyctzonwmjdjmmpyzbyihhpyznmqltcuckqmcybbdafoexqztxhzlfjowznisnxtgoiqjztogldyegajmegalqgawrzotuntocmsagvkzdnwhmaewuxiuhvintpzwyrkgapnmegpveyuuorrfvrfakjyetfaoqtvwghlslsvmahrkvzkwpaviufknrpuapicqdnn
yumnkkghwtqnhpmmsbfwypcwudihegsvt...

output:

10

result: