タグ

2010年10月1日のブックマーク (6件)

  • Google URL Shortener links will no longer be available

    In 2018, we announced the deprecation and transition of Google URL Shortener because of the changes we’ve seen in how people find content on the internet, and the number of new popular URL shortening services that emerged in that time. This meant that we no longer accepted new URLs to shorten but that we would continue serving existing URLs. Over time, these existing URLs saw less and less traffic

    Google URL Shortener links will no longer be available
    eagletmt
    eagletmt 2010/10/01
  • IU Webmaster redirect

    The contents you are looking for have moved. You will be redirected to the new location automatically. Please bookmark the correct page at http://homes.soic.indiana.edu/jsiek/

  • Project Eulerに必要な用語集 - inamori’s diary

    Project Eulerを解いていくのに便利な数学の用語やアルゴリズムなどを紹介したものをまとめています。 ユークリッドの互除法 互いに素 エラトステネスのふるい 包除原理 ピタゴラス数 バイナリ法 漸化式 約数 多角数 完全数・友愛数・社交数 オイラーのφ関数 オイラーの定理 回文数 ペル方程式 連分数 ペル方程式(2) n^2+1型の素数の列挙 母関数 フィボナッチ数列 ガウス整数 マージ法 メモ化 上限が不明なときの問題解決法 上下で計算法を変える 分割数 約剰余類群 PriorityQueueの使い方 数値計算による誤差

    Project Eulerに必要な用語集 - inamori’s diary
    eagletmt
    eagletmt 2010/10/01
  • 母関数 - inamori’s diary

    母関数は数え上げや確率の問題で使います。Project Eulerではときどき使えるのでおぼえましょう。最近ではProblem 286で使いました。例えばこんな問題で使えます。 N個のブロックが横一列に並んでいます。赤・青・緑・黄の4色のペンキがあり、これらで各ブロックを塗っていきます。赤色で塗られたブロックの個数と、緑色で塗られたブロックの個数がともに偶数個となるような塗り方の総数を求め、10007で割った余りを出力しなさい。 プログラミングコンテストチャレンジブックP.182 このの中では行列を使って解いていますが、母関数を使うとほとんどコーディングしなくてもよくなります。 まず、 (x + y + z + w)2 を考えます。xを赤、yを青、zを緑、wを黄とみなします。そうしてこれを展開することを考えます。 (x + y + z + w)2 = (x + y + z + w)(x

    母関数 - inamori’s diary
    eagletmt
    eagletmt 2010/10/01
  • zsh: 20 Completion System

    20.1 Description This describes the shell code for the ‘new’ completion system, referred to as compsys. It is written in shell functions based on the features described in the previous chapter, Completion Widgets. The features are contextual, sensitive to the point at which completion is started. Many completions are already provided. For this reason, a user can perform a great many tasks without

    eagletmt
    eagletmt 2010/10/01
  • zshのcompletion functionを作り方 - 技術録(仮)

    メモ, zshコマンドラインからvim scriptをとってきてインストールしてくれる、vimanaという便利なプログラムがある。これはとても便利なのだが、前々からzshで補完が効かないのが正直めんどくさいと思っていた。 ないものは自作しよう、とがんばっていろいろとやっていたのだが、なかなか思うように動作してくれず悪戦苦闘した結果、納得いくものができたのでdotfilesにcommitしておいた。 正直、documents読んでも意味不明だったし、何がどうなってるのかよくわからなかった。それで、この難解な仕様を読み込むのが大変だという人は自分にもいるはずなので、まとめ記事メモを書いてみる。そんな大したものではないのだが。 さて、completion functionだが以下のようになった。最新版はこちら。echo $fpathして、通ってるdirectoryにぶち込む。もしくはfpath=

    eagletmt
    eagletmt 2010/10/01