QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#277413#7882. Linguistics Puzzleucup-team1332RE 0ms0kbC++143.2kb2023-12-06 18:37:022023-12-06 18:37:02

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Runtime Error

input:

2
3
a b a b b b b c cc
4
d d d d d c b a d b cd cb d a cb bc

output:


result: