To determine how many times you must halve a list to reach a single element, compute the binary logarithm of its length.
リストを半分に分割して要素が1つになるまでの回数を求めるには、その長さの底が2の対数を計算してください。
アカウントを持っていませんか? 新規登録
アカウントを持っていますか? ログイン
DiQt(ディクト)
無料
★★★★★★★★★★