Yuhao and a Parenthesis
1097C1400· specialist2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
7)()))((((())
Output
2
Sample 2of 3
Input
4(((((((())
Output
0
Sample 3of 3
Input
2(())()
Output
1
58%
1097C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)