QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#215047 | #2927. Bracket Pairing | GuanYunchang | AC ✓ | 1123ms | 84596kb | C++17 | 1.7kb | 2023-10-15 02:38:51 | 2023-10-15 02:38:52 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Test #1:
score: 100
Accepted
time: 0ms
memory: 3568kb
input:
??
output:
4
result:
ok single line: '4'
Test #2:
score: 0
Accepted
time: 0ms
memory: 3808kb
input:
????
output:
32
result:
ok single line: '32'
Test #3:
score: 0
Accepted
time: 0ms
memory: 3760kb
input:
????????
output:
3584
result:
ok single line: '3584'
Test #4:
score: 0
Accepted
time: 0ms
memory: 3596kb
input:
]????]
output:
0
result:
ok single line: '0'
Test #5:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
?????[
output:
0
result:
ok single line: '0'
Test #6:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
([???]
output:
1
result:
ok single line: '1'
Test #7:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
??({?]
output:
0
result:
ok single line: '0'
Test #8:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
??({?]??
output:
4
result:
ok single line: '4'
Test #9:
score: 0
Accepted
time: 0ms
memory: 3516kb
input:
?[()?)()]]
output:
1
result:
ok single line: '1'
Test #10:
score: 0
Accepted
time: 0ms
memory: 3788kb
input:
?()?????
output:
320
result:
ok single line: '320'
Test #11:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
?????()?
output:
320
result:
ok single line: '320'
Test #12:
score: 0
Accepted
time: 0ms
memory: 3596kb
input:
???([]){}???
output:
320
result:
ok single line: '320'
Test #13:
score: 0
Accepted
time: 1123ms
memory: 84536kb
input:
????????????????????
output:
17611882496
result:
ok single line: '17611882496'
Test #14:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
<{[{()}]}<>{}>{?()[]
output:
1
result:
ok single line: '1'
Test #15:
score: 0
Accepted
time: 0ms
memory: 3772kb
input:
[<{}<><?[]>?[]{}<{}>
output:
1
result:
ok single line: '1'
Test #16:
score: 0
Accepted
time: 0ms
memory: 3604kb
input:
()<{}{}><???[]>>[()]
output:
9
result:
ok single line: '9'
Test #17:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
([{?}}<??){<>}[?}<>]
output:
1
result:
ok single line: '1'
Test #18:
score: 0
Accepted
time: 0ms
memory: 3592kb
input:
{}(?(?()[]??]<>){[]?
output:
21
result:
ok single line: '21'
Test #19:
score: 0
Accepted
time: 0ms
memory: 3516kb
input:
<??>]??{{}[]}>>()?{}
output:
1
result:
ok single line: '1'
Test #20:
score: 0
Accepted
time: 0ms
memory: 3480kb
input:
{???{(({?><>?>})){}}
output:
8
result:
ok single line: '8'
Test #21:
score: 0
Accepted
time: 0ms
memory: 3596kb
input:
?<()[]?<{?>??>>())[]
output:
11
result:
ok single line: '11'
Test #22:
score: 0
Accepted
time: 0ms
memory: 3520kb
input:
?[()?)()][]{[?}>?]{?
output:
1
result:
ok single line: '1'
Test #23:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
{?(?>)<>>{}<?{}}?]{?
output:
1
result:
ok single line: '1'
Test #24:
score: 0
Accepted
time: 17ms
memory: 10812kb
input:
[?}[[???[??????]??>?
output:
34880
result:
ok single line: '34880'
Test #25:
score: 0
Accepted
time: 120ms
memory: 26652kb
input:
??<???????<>??[??]{?
output:
629760
result:
ok single line: '629760'
Test #26:
score: 0
Accepted
time: 119ms
memory: 23564kb
input:
?????????[?)?}?>[???
output:
889856
result:
ok single line: '889856'
Test #27:
score: 0
Accepted
time: 677ms
memory: 84484kb
input:
????????????}(??????
output:
275382272
result:
ok single line: '275382272'
Test #28:
score: 0
Accepted
time: 630ms
memory: 84596kb
input:
?[??]?{??)??????????
output:
8609792
result:
ok single line: '8609792'
Test #29:
score: 0
Accepted
time: 117ms
memory: 26724kb
input:
???????(??)??{?????>
output:
16621568
result:
ok single line: '16621568'
Test #30:
score: 0
Accepted
time: 621ms
memory: 84504kb
input:
????[]?[<???????????
output:
21446656
result:
ok single line: '21446656'
Test #31:
score: 0
Accepted
time: 27ms
memory: 10504kb
input:
???????}>??????)?)??
output:
4677632
result:
ok single line: '4677632'
Test #32:
score: 0
Accepted
time: 50ms
memory: 12984kb
input:
[??????(??????????{}
output:
41435136
result:
ok single line: '41435136'
Test #33:
score: 0
Accepted
time: 100ms
memory: 26592kb
input:
(?>?[???????????}???
output:
8740864
result:
ok single line: '8740864'
Test #34:
score: 0
Accepted
time: 0ms
memory: 3520kb
input:
()()(?
output:
1
result:
ok single line: '1'
Test #35:
score: 0
Accepted
time: 0ms
memory: 3516kb
input:
(??)
output:
5
result:
ok single line: '5'
Test #36:
score: 0
Accepted
time: 0ms
memory: 3480kb
input:
(<{}>??]
output:
1
result:
ok single line: '1'
Test #37:
score: 0
Accepted
time: 0ms
memory: 3760kb
input:
(?]]
output:
0
result:
ok single line: '0'