QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#294241#4824. Bracket-and-bar Sequencesucup-team1400#0 0ms0kbC++203.2kb2023-12-30 10:39:352023-12-30 10:39:36

详细

Test #1:

score: 0
Wrong Answer on the first run

input:

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

output:

2 3
3 12
4 55
5 273
6 1428
7 7752
8 43263
9 246675
10 1430715
11 8414640
12 50067108
13 300830572
14 1822766520
15 11124755664
16 68328754959
17 422030545335
18 2619631042665
19 16332922290300
20 102240109897695
21 642312451217745
22 4048514844039120
23 25594403741131680
24 162250238001816900
25 103...

input:


output:


result:

wrong output format Extra information in the output file (test case 3)