QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#294407#4824. Bracket-and-bar Sequencesucup-team006#0 0ms3620kbC++202.8kb2023-12-30 13:30:332023-12-30 13:30:34

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: '((|)|)((|(|))|)'