5 lines
82 B
Python
5 lines
82 B
Python
|
sum = 0
|
||
|
for i in range (1, 1001):
|
||
|
sum = sum + i ** i
|
||
|
print sum % 10000000000
|