cf/mirror

Rigged Bracket Sequence

CF
2201C2000· candidate master2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
4
2
()
4
()()
6
(()())
10
()((())())
Output
2
8
28
312
2201C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)