QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#296057#4824. Bracket-and-bar Sequencesucup-team13780 1ms3496kbC++174.3kb2024-01-02 04:14:472024-01-02 04:14:48

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

0
54
73

input:

decode
3
1
0
4
54
5
73

output:

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

result:

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