タグ

2006年6月8日のブックマーク (4件)

  • Online Judge - Home

    Our Patreons Diamond SponsorsSteven & Felix Halim Reinardus Pradhitya Gold Sponsors--- YOUR NAME HERE ---- Silver Sponsors--- YOUR NAME HERE ---- Bronze SponsorsChristianto Handojo Krzysztof Adamek Fatima Broom Amal Augustine Now available! The Spanish version of Parts 1-3 of the fantastic book series Algorithms Illuminated by Tim Roughgarden. Part 4 coming soon! More info and buying options at: h

    yhara
    yhara 2006/06/08
    reverse and add
  • 404 Page Not Found

    This may be due to an old-cached referring page; You can try going back and requesting an uncached page by pressing Reload in your browser while holding the Shift key. If the error persists and: you followed an internal link (within our website): Try again in a few moments; It may be a temporary issue. If the error persists, please contact our webmaster with the details. you followed an external l

    yhara
    yhara 2006/06/08
    iostreamとか
  • C の qsort と STL の sort の速度比較 - bkブログ

    STL は知れば知るほどよくできていると感心します。Effective STL の46項には今回と同様の実験が取り上げられています。 Effective STL には他にも、イテレータの無効化やコンテナ操作の性能など、 STL を使う上で注意すべき点が詳しく解説されています。 実験に使ったプログラムは以下の通りです。 $((2**24)) はコマンドラインで 2の24乗を計算する表記です。bash や zsh で使えます。 実行結果 % g++ -O2 -o sort sort.cpp % ./sort $((2**24)) qsort: 9.22 stl-sort-func: 5.62 stl-sort-functor: 2.56 % icc -O2 -o icc-sort sort.cpp % ./icc-sort $((2**24)) qsort: 8.82 stl-sort-fun

  • STLのページ

    角のページへ戻る STL(Standard Template Library) C++の標準テンプレートライブラリ、STLのページです。 2003/6/7 コンテナ全ページ標準に合わせて修正 目次(と予定) 更新履歴 はじめに STLとは? '99 11/07 作成 その前にC++で知っておかなければならないこと 馴染みがない(かもしれない)単語 '99 9/23 わずかに修正 テンプレート(template<>) 2001 1/31 更新 環境 '99 2/20 VCでSGI_STLを使う、BeOS、egcs等 使い方 イテレータ(反復子)の使い方 '99 6/19 更新 関数オブジェクトの使い方 '99 7/4 mem_fun()の使い方追加 早見表 STLで使う主なクラス '99 6/13 各クラスの説明、ヘッダをまとめた STLで使われる名前 '99 6/13 微妙に更