12
lesenv
1 8 26
599/ 745
Last seen 8 years ago
Member for 10 years, 7 months, 29 days
Difficulty Normal
Best reviews / Newest reviews
math-veky 2 1
wow, why do you write always one-liners? is it just for fun or the challenge or is there another reason? funny, that this is possible... completely unreadable by normals like me. More
One line-PositronicLlama 1
this is so easy to read and so hard to think of... More
Shoelace-veky 1 1
for x,y in d: a,u,v=a+x*v-y*u,x,y clever, clever! i had to look twice to get it. nice :) More
First-Sim0000 1 1
so much simpler :) i used the re-module *blush* More
Dijkstra's Forever !-Miaou 1
i thought this algorithm was quite nice. after having read guidos post i'm feeling kind of stupid aside him. thumbs up nevertheless More
First-mr.floppy 1
finally i came up with something similar to the best solutions... HURRA More
Convert and Iterate-bryukh
i wanted to avoid the init of res = 1, so i found the functools.reduce. but now i see that your code i so much readable. thumps up! More
reduce-Cjkjvfnby
great! i just changed my solution. i had the same idea that you had, but mine was not as clear. thanks! More
First-nptwz
i didn't see that one coming. good thinking! More
To recurse is divine-dknn
phew, i had to think about this solution... wow. does _n//10_ automatically decrease _n_? More
Second-Moonra 1
at first i didn't even see the differences to the first attempt. I had to look at the first again and there in the comments i saw what you changed. subtle but nice to know where to make those changes. edit: do you and veky know each other? More
First-Amachua
i don't get it. where are the possible paths compared to each other? to my untrained eye it seems like the last valid path is chosen. minSize = 1000 bestPath = 0 for i in range(len(possiblePath)): if len(possiblePath[i]) < minSize and len(possiblePath[i]) More
First-manub
if (i+1)**2+(j+1)**2>radius**2 and i**2+j**2More
Reduce-LLluma 1
wow! i thought i had to import functools... thanks More
First-Blastus
i really liked the __repr__. wanted something like this and didn't succeed... type(self).__name__ good thinking More
Third-turncc
very nice! so simple... i used two methods and itertools. i really laughed out loud when i saw this :) More
Recursive generator-old_user
i tried to do this, i didn't succeed. nicely done! More
First-monkshorin
thx for [::2]! i used enumerate() and an if-clause :) More
First-panaro32
i love it! the "len(t) and"-trick is a new one to me. thanks More