QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#198716#7506. StrCartesianZ_301TL 0ms24968kbC++179.6kb2023-10-03 16:47:042023-10-03 16:47:04

详细

Test #1:

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

input:

2 3
a
ab
a
aa
ba
2
3
4

output:

1 3
2 1

result:

ok Correct Answer

Test #2:

score: -100
Time Limit Exceeded

input:

27 28
ptdtljwzjbyctrjetnossaiogcfce
kmuwnsxjenpjybcwrecoqddbltzvnkzzrxvne
lsbqkpbgihqahpotzrnggqrompohf
ixonxrpixmurqgdtedhavpawmddfw
ruhqnxhvucv
fvarlrf
uyxxjzjf
tlzrxaykw
kldatopsv
fywmszxti
yraazxvbfebdhekphdrqhvpmferaghezebm
dovtqdvdd
waohxsasgl
biakvxhqx
aeyzaqum
repmbqtrvwd
dvqojkduc
sjxapwnyz...

output:


result: