QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#305817#4824. Bracket-and-bar SequencesMaMengQi0 0ms3612kbC++202.4kb2024-01-16 01:20:372024-01-16 01:20:38

详细

Test #1:

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

input:

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

output:

0
43
55

input:

decode
3
1
0
4
43
5
55

output:

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

result:

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