QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#296057#4824. Bracket-and-bar Sequencesucup-team13780 1ms3496kbC++174.3kb2024-01-02 04:14:472024-01-02 04:14:48

詳細信息

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 3496kb

input:

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

output:

0
54
73

input:

decode
3
1
0
4
54
5
73

output:

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

result:

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