文章目錄

原题链接http://projecteuler.net/problem=56

Powerful digit sum

A googol (10100) is a massive number: one followed by one-hundred zeros; 100100 is almost unimaginably large: one followed by two-hundred zeros. Despite their size, the sum of the digits in each number is only 1.

Considering natural numbers of the form, ab, where a, b < 100, what is the maximum digital sum?

幂方数字和
古戈尔 (10100)是一个天文数字:1后面跟着100个零;100100更是不可想象的大:1后面跟着200个零。尽管它们非常大,但是它们的数字和为1.

求幂方ab中,a,b < 100,最大的数字和
解法:
暴力吧。

打赏作者

文章目錄