QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505435#5788. Alien Languagexiaowuc110 6ms10600kbPython3531b2024-08-05 05:20:452024-08-05 05:20:45

詳細信息

Subtask #1:

score: 10
Accepted

Test #1:

score: 10
Accepted
time: 6ms
memory: 10600kb

input:

10 25 10
ubjwqxhwfd
myzbivqwwd
mdynwjlxby
swbburyeqf
hcdignewka
byfzobkbym
zskbvgutkk
arpdavrgtd
gudnwrogsp
uuhexdnryx
ebrtetqxzl
chfgubziks
zemjlloycm
xgpobuhtti
ewpkejndux
xtelepwsnb
hmhwblskem
tjkivquitq
itlmeqddis
epelmfwesd
slmcthspro
fbjrpnhsqr
kuhpitwgzo
jszvwvermw
hsxqlndufw
lsssjcnfjn
g(rsu...

output:

Case #1: 0
Case #2: 1
Case #3: 0
Case #4: 1
Case #5: 5
Case #6: 6
Case #7: 1
Case #8: 4
Case #9: 1
Case #10: 5

result:

ok 10 lines

Subtask #2:

score: 0
Time Limit Exceeded

Test #2:

score: 0
Time Limit Exceeded

input:

15 5000 500
ubjwqxhwfdmyzbi
vqwwdmdynwjlxby
swbburyeqfhcdig
newkabyfzobkbym
zskbvgutkkarpda
vrgtdgudnwrogsp
uuhexdnryxebrte
tqxzlchfgubziks
zemjlloycmxgpob
uhttiewpkejndux
xtelepwsnbhmhwb
lskemtjkivquitq
itlmeqddisepelm
fwesdslmcthspro
fbjrpnhsqrkuhpi
twgzojszvwvermw
hsxqlndufwlsssj
cnfjnwsfvqdsuuf
...

output:

Case #1: 0
Case #2: 1
Case #3: 0
Case #4: 1
Case #5: 735
Case #6: 371
Case #7: 1
Case #8: 355
Case #9: 1
Case #10: 547
Case #11: 0
Case #12: 1
Case #13: 0
Case #14: 1
Case #15: 279
Case #16: 528
Case #17: 1
Case #18: 450
Case #19: 1
Case #20: 477
Case #21: 0
Case #22: 1
Case #23: 0
Case #24: 1
Case ...

result: