最終更新日:2025/12/05
To speed up range-sum queries during the competition, I implemented a Fenwick tree to support dynamic updates and prefix-sum queries in logarithmic time.
正解を見る
To speed up range-sum queries during the competition, I implemented a Fenwick tree to support dynamic updates and prefix-sum queries in logarithmic time.
音声機能が動作しない場合はこちらをご確認ください
編集履歴(0)