index
:
projecteuler
trunk
Project Euler solutions
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
048.py
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to '048.py')
-rw-r--r--
048.py
6
1 files changed, 6 insertions, 0 deletions
diff --git a/048.py b/048.py
new file mode 100644
index 0000000..7c4102e
--- /dev/null
+++ b/
048.py
@@ -0,0 +1,6 @@
+sum = 0
+for i in range(1, 1001):
+ sum += i**i
+
+print sum % 10**10
+