14 Matching Annotations
  1. Jul 2025
  2. Mar 2025
    1. なお、べき乗は 1.3 節で扱った ** 演算子でも計算できますが、組み込み関数 pow を用いたほうが高速に計算できます。 また、余りは pow(a,b) % mod のように後から計算しても同じ結果になりますが、pow(a,b) の値が非常に大きくなる場合は pow(a,b,mod) のほうが高速に計算できます。 競技プログラミングにおいては pow 関数を使うことが必須であるケースが多いため覚えておきましょう。
  3. Sep 2024
  4. Jun 2024
  5. Feb 2024
  6. May 2023
  7. Mar 2023
  8. Jun 2021
  9. Jul 2020
  10. 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.