QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505601#3436. Car Gamexiaowuc1AC ✓678ms50276kbJava83.5kb2024-08-05 06:22:442024-08-05 06:22:45

详细

Test #1:

score: 100
Accepted
time: 37ms
memory: 36716kb

input:

5 3
banana
car
sand
uncharacteristically
counterrevolutionaries
RRR
DNA
SND

output:

counterrevolutionaries
No valid word
sand

result:

ok 3 lines

Test #2:

score: 0
Accepted
time: 60ms
memory: 39636kb

input:

271 18
a
add
advance
afraid
airplane
already
and
appear
apple
april
around
attempt
bad
bed
behind
beside
beyond
bird
blood
board
body
bread
broad
build
building
captain
child
childhood
children
cloud
cold
company
complete
condition
consider
considerable
could
crowd
cup
daily
dance
dare
dark
date
dau...

output:

attempt
yesterday
yesterday
blood
important
daily
No valid word
and
yard
building
wednesday
No valid word
captain
No valid word
No valid word
No valid word
captain
No valid word

result:

ok 18 lines

Test #3:

score: 0
Accepted
time: 678ms
memory: 50116kb

input:

5000 10000
ismeaicggtlbsfisfqthrwwsfxyrotbcpykutkmjnbklbgewaqptjaefcbsjekyughwnpjtfuyctwyvygjsuhgjecpinbpfmugnl
crgsmbkfivgowowangsmbmneuaanmjxwvfphdbdwisnnksnulvmkjmsdxayficumckfkavrkkwygiltapfhylgcspusxogtffhsy
ukxffuuftxxdykqgtspmekyekhrfmxbumwuddirfrbcbyedclfuqtgffeljheecpdhlhnrhikrqvtdvhguddefc...

output:

No valid word
crgsmbkfivgowowangsmbmneuaanmjxwvfphdbdwisnnksnulvmkjmsdxayficumckfkavrkkwygiltapfhylgcspusxogtffhsy
ismeaicggtlbsfisfqthrwwsfxyrotbcpykutkmjnbklbgewaqptjaefcbsjekyughwnpjtfuyctwyvygjsuhgjecpinbpfmugnl
crgsmbkfivgowowangsmbmneuaanmjxwvfphdbdwisnnksnulvmkjmsdxayficumckfkavrkkwygiltapfhy...

result:

ok 10000 lines

Test #4:

score: 0
Accepted
time: 513ms
memory: 50276kb

input:

5000 10000
ajinlbdgldlgefjegedjimfdejnamlakbdhkbebjfbdmfagkassqssrosrqqpporsprqqqpoorqqssorqoorsssssproqsqssr
bambgjamhbaimjefhlclkaefdmfjhebficemiehhmmlclacfjqoqqrpsopqrqsppqsrorrpqqporpqspqooqssopsopqrqqoss
jffhkkhnlffdccdablneidccahejmgfeagkafmjeaajdghfacoqoqrssqrpsprqsrqopspprpsoqsqsprorpooossoo...

output:

bambgjamhbaimjefhlclkaefdmfjhebficemiehhmmlclacfjqoqqrpsopqrqsppqsrorrpqqporpqspqooqssopsopqrqqoss
komqrrmrqqqpnoorronrmlnolqmnlmmnlqorlksmopsqnprlnlfjjbjbcfgfcfdcaabhggdiiafagdddcbajjjjcjdgehgfhfhaj
No valid word
komqrrmrqqqpnoorronrmlnolqmnlmmnlqorlksmopsqnprlnlfjjbjbcfgfcfdcaabhggdiiafagdddcbajjj...

result:

ok 10000 lines