QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#272451#7882. Linguistics Puzzleucup-team2747#WA 1ms4004kbC++143.7kb2023-12-02 17:19:542023-12-02 17:19:54

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 4004kb

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:

bca
3 1 2 0 
3 2 1 0 
dcba

result:

wrong answer invalid length at case #2