Project Euler 202

Problem 202

考え方は簡単ですが、コードがなかなか書けなくて。