summaryrefslogtreecommitdiffstats
path: root/3.3.py
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2020-11-26 13:34:19 +0200
committergramanas <anastasis.gramm2@gmail.com>2020-11-26 13:34:19 +0200
commit578e2277bb2e0e711ee4c2e9508cc68610a13a15 (patch)
tree0b8b3c8cd1b4f5c1cfa2ba1b40f99c83e05bc848 /3.3.py
parent33175376e4ce49d38835edc9131e7b95cb18f243 (diff)
downloadfoobar-withgoogle-578e2277bb2e0e711ee4c2e9508cc68610a13a15.tar.gz
foobar-withgoogle-578e2277bb2e0e711ee4c2e9508cc68610a13a15.tar.bz2
foobar-withgoogle-578e2277bb2e0e711ee4c2e9508cc68610a13a15.zip
Add refHEADmaster
Diffstat (limited to '3.3.py')
-rw-r--r--3.3.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/3.3.py b/3.3.py
index 663d6f1..faa3474 100644
--- a/3.3.py
+++ b/3.3.py
@@ -73,6 +73,7 @@ def solution2(l):
## Way too much memory, it's not even funny
## python is supposed to do list comprehension in a good way, lol
+## adapted from https://oeis.org/A333885
def solution3(l):
return len([(i, j, k)
for id,i in enumerate(l)