15
ljy95135
● 11 ● 20
1019/ 1195
Last seen 7 years ago
Member for 8 years, 1 month, 27 days
Difficulty Normal
Best reviews / Newest reviews
Counter-gyahun_dash
Great,never thought that it can be so easy. More
__-Cjkjvfnby
permutations is always a good tool, as well as other functions in itertools. I hope I can have the idea to use them at first time when I saw the problem. More
Flood Fill-PositronicLlama
Flood fill function is good, reduce the code redundancy. I should fix my code now. More
named group-gyahun_dash
It's great, I use more than 50 lines to solve it. Thx for sharing! More
slice forward-blabaster
Itβ€˜s a nice way to split! CLear and succinct. More
Digits-PositronicLlama 2
if number > 1: return 0 nice idea! More
First-canassa 1
zip(*matrix), # Vertical Nice way! I learn a lot! More
First-gyahun_dash
So elegant, I learn a lot of more ways to solve problems in a easy way! More
First-ciel
I also solve it by recursive function, good idea! More
First-tamacjp
so cool! There is no need to make n and m the same length! More
First-Sim0000 1 1
This solution using lambda is Great! More
Stack-veky 1 1
if c in brackets: It's concise than use multiple if, nice idea! More
First-gyahun_dash 1
return {'-'.join(p): [getattr(self, d) for d in p] for p in pairs} cool. More
Intersection-bryukh
sorted(common) Learn it, I use list function for a set which is unnecessary. More
The Key-bryukh 1 1
I use a key=lambda x:abs(x) now I find I am quite wrong... Good answer! More
Hinted-veky 1
I used to think we must use the original parameter to get passed. It gives me new knowledge, brilliant. :) More
Hinted-veky 1 1
lambda constructs a function and give to checkio, it's quite concise. More
First-dagger126
operator overload is useful there. More
simpler-mr.floppy
Yes, abs for timedelta is interesting, in this case is the same but can be helpful in others. More
Double loop-bryukh
w1.endswith(w2) or w2.endswith(w1) using w1.endswith(w2) is also ok i think. More
1
2 3