bisect モジュールを使うとソートされたリストを高速に検索できる index 関数を、簡単に書くことができます。
Quote saved.
Login to quote this blog
Failed to save quote. Please try again later.
You cannot quote because this article is private.