AtCoder Collection

Divide and Divide

メモ化再帰の典型的な問題 mp[i] := i + [i / 2] + [(i / 2) / 2] ... の個数としてこれを順に求めていく。
← トップへ戻る