QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#505505#5916. Consonantsxiaowuc128 ✓11ms6980kbC++171.6kb2024-08-05 05:49:112024-08-05 05:49:11

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 8
Accepted

Test #1:

score: 8
Accepted
time: 0ms
memory: 3592kb

input:

100
quartz 3
straight 3
gcj 2
tsetse 2
eeekekekekkkkeeekkekeeekkekeekeeeekekkekekeekeekkeekeeekkkekkekkeekkekeeekeekekkkkekekkkekekkkekkeek 3
fyqjqmeoodgwvlzrqjizuyihidxwoeuusysiiaiacsbubygailyeavoiwlkcgdkaxqicytiaufehatdiezjoezekui 5
ojuugubmowokjibaeqktbaaosoeouopmeatkeeejlburfrraoezmeooaoeatebaoc...

output:

Case #1: 4
Case #2: 11
Case #3: 3
Case #4: 11
Case #5: 3512
Case #6: 2432
Case #7: 2008
Case #8: 0
Case #9: 2364
Case #10: 1008
Case #11: 1613
Case #12: 726
Case #13: 3665
Case #14: 1283
Case #15: 2745
Case #16: 1301
Case #17: 0
Case #18: 2808
Case #19: 5050
Case #20: 0
Case #21: 560
Case #22: 3771
...

result:

ok 100 lines

Subtask #2:

score: 20
Accepted

Test #2:

score: 20
Accepted
time: 11ms
memory: 6980kb

input:

100
oaaueaooieooouoeoieoaueouuueaieaueeauaaeouieoauuijyyxyfhrvlqyvjpkzcdxnvcxzynyxjhfdcbzfgnxrkvgeaeuuiu 44
obohqpaoifgfrvouqoobxauyzaumeeaadaiiwiaumqrieuctittlikigtgiujueauoiuauaualio 5
iuiuiiiiiuztpcngqlcwwngycvjqgfjjneueaoauiieiuiiuiauaeiaioauaiaieeouoeiieueaaaouiauouooeeaaoooieeaeau 23
miosaaosf...

output:

Case #1: 400
Case #2: 630
Case #3: 748
Case #4: 1758
Case #5: 952
Case #6: 36544172504
Case #7: 792
Case #8: 682
Case #9: 1070
Case #10: 1311
Case #11: 500000500000
Case #12: 370539662834
Case #13: 1485
Case #14: 1723
Case #15: 3671
Case #16: 2924
Case #17: 1633
Case #18: 2373
Case #19: 0
Case #20: ...

result:

ok 100 lines

Extra Test:

score: 0
Extra Test Passed