QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#579024#1369. Longest Common SubsequenceZhaoZiLongTL 5ms3988kbC++234.2kb2024-09-21 01:39:042024-09-21 01:39:04

詳細信息

Test #1:

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

input:

6113 13
DALIBKGHEMJFC
DAHLIBKGEMJFC
DALIBKGEMJFHC
DAHLIBKGEMJFC
DALIBHKGEMJFC
DALHIBKGEMJFC
DHALIBKGEMJFC
DALIBKGEHMJFC
DAHLIBKGEMJFC
DALIHBKGEMJFC
DALIBKHGEMJFC
DALIHBKGEMJFC
DALHIBKGEMJFC
DALIBKGEMJFCH
DALIBKGEMJHFC
DAHLIBKGEMJFC
DALIBKGEMJFHC
DALIBKGEMHJFC
DALIBHKGEMJFC
DALIBKHGEMJFC
DALIBKGEMHJF...

output:

12

result:

ok single line: '12'

Test #2:

score: 0
Accepted
time: 1ms
memory: 3888kb

input:

3041 4
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DACB
DAC...

output:

4

result:

ok single line: '4'

Test #3:

score: 0
Accepted
time: 5ms
memory: 3988kb

input:

2958 22
NSRIBATQJPGELDKFVCHMUO
MHNSDRUKBAFTCQJPIGELVO
NSRKIUBATMQJCPHGLFVEOD
NSREUBATQKJFHPGLMDVOCI
UFNSRBEDATCQKJPGHMLVIO
NSRBAKEMCITHQJUPGLFVDO
NSKCRBUATFDQHJPMGLIVEO
MNSKFRHBAETQJPDIGUCLVO
NMSRBHACTDEKUQJFPIGLVO
KNSRBMACTQUIJPFGDLVEHO
NSMDRBACTKHIQJPFGLEVOU
NSCRBEATQDJPGLKVOMUFHI
UINSRCBEFKATDQJP...

output:

13

result:

ok single line: '13'

Test #4:

score: -100
Time Limit Exceeded

input:

4135 23
VBHFGJNLEDPKCTIWQUORSMA
VJBHFGNLEDPKCTIWQUORSMA
VBHFGNLEDJPKCTIWQUORSMA
VBHFGNLEDPKCTIWQUORSMAJ
VBHFGNLEDPKCTIJWQUORSMA
VBHFGNLEDPJKCTIWQUORSMA
VBHFGNLEDPKCTIWQUJORSMA
VBHFGNLEDPKCTIWQUJORSMA
VBHFGNLEDPKCTIWQUORSJMA
VBHFGNLEDPKCTIWQUORSMAJ
VJBHFGNLEDPKCTIWQUORSMA
VBHFGNLEDPKCTIWQUOJRSMA
VBHF...

output:


result: