Problem 48

completed December 5, 2011

Comments

This problem was incredibly easy. It took the script just 0.13 sec to complete the task. And it took me maybe 2 min to write it.

Code

sum = 0
for x in range(1, 1001):
	sum = sum + (x**x)
	print x
	
print sum