diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2020-11-26 13:34:19 +0200 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2020-11-26 13:34:19 +0200 |
commit | 578e2277bb2e0e711ee4c2e9508cc68610a13a15 (patch) | |
tree | 0b8b3c8cd1b4f5c1cfa2ba1b40f99c83e05bc848 /3.3.py | |
parent | 33175376e4ce49d38835edc9131e7b95cb18f243 (diff) | |
download | foobar-withgoogle-master.tar.gz foobar-withgoogle-master.tar.bz2 foobar-withgoogle-master.zip |
Diffstat (limited to '3.3.py')
-rw-r--r-- | 3.3.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) |