括号的最大嵌套深度
def maxDepth(s: str) -> int:max_depth = 0current_depth = 0for char in s:if char == '(':current_depth += 1max_depth = max(max_depth
def maxDepth(s: str) -> int:max_depth = 0current_depth = 0for char in s:if char == '(':current_depth += 1max_depth = max(max_depth
#include #include using namespace std;typedef long long LL;LL n;int main { cin >> n; bool is_first = true; for(i