This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
クロッシング問題をそれぞれHaskell, D, C++で書いた。全てマージソートでマージ中に転倒数を数えていくアルゴリズム。 | |
crossing.hs : 200ms vectorを使って高速化 | |
crossing2.hs : 1200ms listのみを使った | |
crossing.d : 130ms | |
crossing.c++ : 80ms |
OlderNewer