QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#32980#3844. LCS Spanning TreeSuffixTreeTL 121ms296360kbC++172.5kb2022-05-26 11:29:102022-05-26 11:29:11

詳細信息

Test #1:

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

input:

4
icpc
macau
regional
contest

output:

4

result:

ok single line: '4'

Test #2:

score: 0
Accepted
time: 16ms
memory: 68268kb

input:

3
ababa
babab
aba

output:

7

result:

ok single line: '7'

Test #3:

score: 0
Accepted
time: 121ms
memory: 296360kb

input:

26
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...

output:

0

result:

ok single line: '0'

Test #4:

score: -100
Time Limit Exceeded

input:

7
jia
ran
jin
tian
chi
shen
me

output:


result: