QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#301881#4824. Bracket-and-bar Sequencesucup-team1817#0 0ms3876kbC++232.6kb2024-01-10 13:45:582024-01-10 13:45:59

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

1
67
105

input:

decode
3
1
1
4
67
5
105

output:

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

result:

wrong answer 2nd lines differ - expected: '((((|)|)|)|)', found: '(((|)(|)|)|)'