QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#294910#4824. Bracket-and-bar Sequencesucup-team311#0 0ms3732kbC++204.3kb2023-12-30 17:21:392023-12-30 17:21:39

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

0
54
77

input:

decode
3
1
0
4
54
5
77

output:

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

result:

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