QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#305817#4824. Bracket-and-bar SequencesMaMengQi0 0ms3612kbC++202.4kb2024-01-16 01:20:372024-01-16 01:20:38

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3612kb

input:

encode
3
1
(|)
4
((((|)|)|)|)
5
(|(|))((|(|))|)

output:

0
43
55

input:

decode
3
1
0
4
43
5
55

output:

(|)
((((|)|)|)|)
(((((|)|)|)|)|)

result:

wrong answer 3rd lines differ - expected: '(|(|))((|(|))|)', found: '(((((|)|)|)|)|)'