2013-01-14から1日間の記事一覧
2^(15) = 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26.What is the sum of the digits of the number 2^(1000)? http://projecteuler.net/problem=16 2^(1000)の各桁の和を求める問題。力任せに書くと次のようになるか: ---- sum(map(int,s…
2^(15) = 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26.What is the sum of the digits of the number 2^(1000)? http://projecteuler.net/problem=16 2^(1000)の各桁の和を求める問題。力任せに書くと次のようになるか: ---- sum(map(int,s…