QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#294259#4824. Bracket-and-bar Sequencesucup-team1293#0 0ms3752kbC++173.5kb2023-12-30 10:59:062023-12-30 10:59:06

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

0
10
177

input:

decode
3
1
0
4
10
5
177

output:

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

result:

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