Rosetta Problems
← 問題一覧に戻る
括弧列の最大の深さ
正しく対応のとれた括弧列
S
S
S
が与えられ、括弧の入れ子の深さの最大値を求める。
関連リンク
atcoder/awc0071_a
leetcode/maximum-nesting-depth-of-the-parentheses