`

Project Euler 第36题

 
阅读更多
The decimal number, 585 = 1001001001 2 (binary), is palindromic in both bases.

Find the sum of all numbers, less than one million, which are palindromic in base 10 and base 2.

(Please note that the palindromic number, in either base, may not include leading zeros.)

寻找1000,000内所有十进制和二进制都是回文字的数字的和
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics