QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#295425#4824. Bracket-and-bar Sequencesucup-team2045#0 0ms0kbC++142.9kb2023-12-31 06:09:362023-12-31 06:09:36

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer on the first run

input:

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

output:

(|):::1 0
0
(|):::1 0
((|)|):::2 2
(((|)|)|):::3 11
((((|)|)|)|):::4 54
70
(|):::1 0
(|):::1 0
(|(|)):::2 1
(|(|))((|(|))|):::5 91
162

input:


output:


result:

wrong output format Expected integer, but "(|):::1" found (test case 1)