へたっぴpythonista

ド素人pythonistaとして、日々の学習成果や気づいたことについて書きます。

2013-08-01から1日間の記事一覧

ProjectEuler28をpythonで解く

寝る前に解いたら1時間近くかかってしまいました(笑) Problem28 Starting with the number 1 and moving to the right in a clockwise direction a 5 by 5 spiral is formed as follows: 21 22 23 24 25 20 7 8 9 10 19 6 1 2 11 18 5 4 3 12 17 16 15 14 …