Project Euler 393

http://projecteuler.net/index.php?section=problems&id=393

71着。単なる実装ゲー。