Problem 48 Self powers

来源:互联网 发布:淘宝清洗已过期 编辑:程序博客网 时间:2024/06/02 13:12

The series, 11+22+33+...+1010=10405071317.
Find the last ten digits of the series, 11+22+33+...+10001000.

str(sum([ i**i for i in range(1,1001)]))[-10:]
原创粉丝点击