2008-12-19から1日間の記事一覧

Problem 152

http://projecteuler.net/index.php?section=problems&id=152大きな素因数を持つ数から考えていき、残りが2,3になったら全探索を開始。 import Number (primes, isPrime, merge) import Data.List (groupBy, sortBy) import Data.Ratio (Ratio, denominat…

Rxvt メモ

cygwin.bat @echo off E: chdir E:\cygwin\bin REM bash --login -i REM zsh --login -i rxvt -e zsh --login -i ~/.Xdefaults Rxvt.geometry: 120x35+0+0 Rxvt.font: Terminal-18 Rxvt.mfont: Terminal-18-jisx0208 Rxvt.multichar_encoding: sjis Rxvt.vis…