13 Matching Annotations
  1. Last 7 days
    1. 条件 2 アルゴリズムとは何か 計算量(計算回数)とは何か を理解する。そうすると、明らかに制限時間内に実行が終わらないソースコードを出さなくなる。ちなみに、競プロでは 108 ~ 109 回程度のループが回せるといわれている。
    1. all any all は与えられたリストの要素すべてが条件式として真であるかを判定します。 any は与えられたリストの要素の中に条件式として真であるものが1つ以上存在するかを判定します。
    2. なお、べき乗は 1.3 節で扱った ** 演算子でも計算できますが、組み込み関数 pow を用いたほうが高速に計算できます。 また、余りは pow(a,b) % mod のように後から計算しても同じ結果になりますが、pow(a,b) の値が非常に大きくなる場合は pow(a,b,mod) のほうが高速に計算できます。 競技プログラミングにおいては pow 関数を使うことが必須であるケースが多いため覚えておきましょう。
  2. Sep 2024
  3. Jun 2024
  4. Feb 2024
    1. https://www.blyberg.net/darien-statements

      The Darien Statements on the Library and Librarians<br /> Written by John Blyberg, Kathryn Greenhill, and Cindi Trainor<br /> Originally published April 3, 2009

  5. May 2023
  6. Mar 2023
  7. Jun 2021
  8. Jul 2020
  9. Jul 2018
    1. The term computational science, and its associated term computational thinking, came into wide use during the 1980s. In 1982, theoretical physicist Kenneth Wilson received a Nobel Prize in physics for developing computational models that produced startling new discoveries about phase changes in materials.
    2. Nearly everybody had something to gain. Experimenters looked to computers for data analysis—sifting through large data sets for statistical patterns. Theoreticians looked to them for calculating the equations of mathematical models.