這個函數會遞歸計算每一個子樹的總和,直到得到最終結果。
この関数は最終結果が得られるまで、各サブツリーの合計を再帰的に計算します。
This function will recursively calculate the sum of each subtree until the final result is obtained.
アカウントを持っていませんか? 新規登録
アカウントを持っていますか? ログイン
DiQt(ディクト)
無料
★★★★★★★★★★