Sept. 19, 2016, 7:16 p.m. |
+ 1 |
for Comment
oduvan: Thank you @veky, this is something new for me today https://docs.python.org/3/library/contextlib.htm...
|
Sept. 19, 2016, 1:37 a.m. |
+ 4 |
for
lambda, str(tuple) and concat-lezeroq
|
Sept. 16, 2016, 8:33 p.m. |
+ 1 |
for Comment
clamytoe: I haven't a clue how this works but it does! Rest assured that I'm going to be digging into enum! Th...
|
Sept. 15, 2016, 3:59 a.m. |
+ 4 |
for
Solved using only the random module-StackOfPancakes
|
Sept. 13, 2016, 12:13 p.m. |
+ 1 |
for
First-smirnoffs
|
Sept. 11, 2016, 9:40 p.m. |
+ 1 |
for Comment
Mellivoran: Nice. enumerate. I love being so fresh at this. Every single new function I encounter has its own li...
|
Sept. 11, 2016, 3:26 a.m. |
+ 2 |
for
Base 3-DiZ
|
Sept. 11, 2016, 1:54 a.m. |
+ 1 |
for Comment
DaveDaFave: plz disregard. I have solved it.
|
Sept. 10, 2016, 8:25 a.m. |
+ 3 |
for
First-RomanLubyanoy
|
Sept. 10, 2016, 3:30 a.m. |
+ 2 |
for
start in north-west, go probe-dist south, then go probe-dest east, then find compatible location with probe-dists-jmegner
|
Sept. 9, 2016, 12:28 p.m. |
+ 2 |
for
First-tranleanhthe
|
Sept. 7, 2016, 6:20 p.m. |
+ 1 |
for
First-n_ara
|
Aug. 31, 2016, 3:13 a.m. |
+ 2 |
for
The Good, the Bad and the Ugly -angapov
|
Aug. 26, 2016, 6:48 p.m. |
+ 1 |
for
Restricted and memoized brute-force-han97
|
Aug. 24, 2016, 10:10 a.m. |
+ 1 |
for Comment
pubbin: [Easy Peasy Lemon Squeezy](https://youtu.be/-o7GB0p2NcA)
|
Aug. 24, 2016, 10:05 a.m. |
+ 3 |
for
Easy-peasy-pubbin
|
Aug. 24, 2016, 10:01 a.m. |
+ 3 |
for
Using filter-pubbin
|
Aug. 24, 2016, 9:59 a.m. |
+ 3 |
for
Concise-pubbin
|
Aug. 24, 2016, 9:57 a.m. |
+ 2 |
for
First-pubbin
|
Aug. 24, 2016, 9:51 a.m. |
+ 1 |
for Comment
Shoneson: Having returned to programming after 10+ years (and choosing Python for that), I try to find a solut...
|
Aug. 23, 2016, 9:35 p.m. |
+ 1 |
for Comment
Czarinov: >Oh man, I was trying to understand this comment for quite some time and got somewhere, but it’s sti...
|
Aug. 23, 2016, 9:31 p.m. |
+ 1 |
for Comment
Czarinov: 1. True, makes sense :)... 2. 3. Thank you very much, it's gotten much clearer for me! You're awesom...
|
Aug. 19, 2016, 2:57 a.m. |
+ 1 |
for Comment
metallidog: This statement just made it click for me on enumerate. Thanks!
|
Aug. 11, 2016, 12:02 p.m. |
+ 3 |
for
Second-george.blackthorn
|
Aug. 11, 2016, 11:10 a.m. |
+ 1 |
for Comment
george.blackthorn: Excellent solution, mainly the idea to employ the binary search to reduce complexity. My first shot ...
|
Aug. 11, 2016, 10:48 a.m. |
+ 1 |
for Comment
Czarinov: I guess I did similar, though I wonder if your solution is better :P count_inversion = lambda s: sum...
|
Aug. 10, 2016, 8:10 a.m. |
+ 3 |
for
Components-george.blackthorn
|
Aug. 10, 2016, 8:10 a.m. |
+ 1 |
for Comment
george.blackthorn: Nice solution. It took me a while before I figure out that the rank Counter object is used to impose...
|
Aug. 7, 2016, 3:01 p.m. |
+ 1 |
for Comment
HaruzeM: Clever use of try statement.
|
July 29, 2016, 9:47 p.m. |
+ 2 |
for
simple numpy solution-tivvit
|
July 27, 2016, 8:32 a.m. |
+ 3 |
for
First-DerekSharp
|
July 26, 2016, 11:54 a.m. |
+ 1 |
for Comment
DerekSharp: your code always seems golfed. It hurts to read for someone at my level. It is impressive but I doub...
|
July 26, 2016, 11:45 a.m. |
+ 1 |
for Comment
oduvan: You are welcome :)
|
July 24, 2016, 2:36 p.m. |
+ 1 |
for
First-buzzjmd
|
July 24, 2016, 2:32 p.m. |
+ 2 |
for
First-buzzjmd
|
July 23, 2016, 5:17 a.m. |
+ 1 |
for Comment
Moises.py: veky you are awesome
|
July 19, 2016, 1:52 a.m. |
+ 1 |
for Comment
Akay: Really cool solution i never think about separating symbols in Fizz Buzz
|
July 13, 2016, 9:48 p.m. |
+ 3 |
for
Numpy-paolo.brasolin
|
July 9, 2016, 4:22 p.m. |
+ 2 |
for
First-JonAnder
|
June 22, 2016, 4:44 a.m. |
+ 1 |
for Comment
yang.wang04: The use case is just from the example provided by bryukh as shown below: You should try to use the k...
|
June 21, 2016, 2:47 p.m. |
+ 1 |
for Comment
voroninman_c8846b1d0ba947a4823: My first job happened accidentally. During my sophomore year at the university, I was offered to be ...
|
June 19, 2016, 2:15 p.m. |
+ 2 |
for
First-anciksfg_c2ed88e2be9b4667ac53e
|
June 19, 2016, 1:59 p.m. |
+ 2 |
for
First-anciksfg_c2ed88e2be9b4667ac53e
|
June 17, 2016, 9:27 p.m. |
+ 1 |
for Comment
ljy95135: Yes! In this situation, filter is even more natural. :)
|
June 17, 2016, 8:49 a.m. |
+ 1 |
for Comment
oduvan: this is a great feedback. Thank you
|
June 13, 2016, 7:24 p.m. |
+ 1 |
for Comment
Raill: Tks for the tip.
|
June 6, 2016, 4:41 p.m. |
+ 1 |
for Comment
inkimiaei: Great Solution :)
|
June 6, 2016, 5:14 a.m. |
+ 1 |
for Comment
gwu: good use of lambda!
|
June 2, 2016, 8:24 p.m. |
+ 1 |
for Comment
ljy95135: Yes, so modifying is important, to make a right one better. :-)
|
June 2, 2016, 4:48 a.m. |
+ 1 |
for Comment
yang.wang04: It is clear to me. Thanks a lot.
|
May 30, 2016, 11:14 a.m. |
+ 4 |
for
any number of functions-DiZ
|
May 30, 2016, 11:01 a.m. |
+ 3 |
for
puncs-DiZ
|
May 29, 2016, 11:16 a.m. |
+ 1 |
for Comment
guango7: That's true, I missed that part. But doesn't that make it go through the text twice?
|
May 27, 2016, 8:24 a.m. |
+ 1 |
for Comment
ljy95135: if c in brackets: It's concise than use multiple if, nice idea!
|
May 27, 2016, 8:21 a.m. |
+ 1 |
for Comment
guango7: Very nice. Just curious, is .upper() a generator?
|
May 25, 2016, 6:45 p.m. |
+ 1 |
for Comment
efabens: I had no idea the history!
|
May 25, 2016, 6:26 p.m. |
+ 1 |
for Comment
kest_iv: thank you for reply ;]
|
May 25, 2016, 10:49 a.m. |
+ 1 |
for Comment
ljy95135: amazing! I get your meaning now, it's like a lambda function give to checkio, and as long as it's le...
|
May 25, 2016, 10:47 a.m. |
+ 1 |
for Comment
PyPoet: much appreciated
|
May 24, 2016, 10:07 a.m. |
+ 1 |
for Comment
ljy95135: I like it! Every time I see the answer on the top, it shocks me again for how short it can be.
|
May 23, 2016, 11:26 p.m. |
+ 1 |
for Comment
Czarinov: This solution is literally a logic sentence (check if subset is in set) translated into code. I had ...
|
May 19, 2016, 3:25 p.m. |
+ 1 |
for Comment
koko.webdev: This was awesome!
|
May 18, 2016, 2:45 a.m. |
+ 1 |
for Comment
nickie: Once more, well done! It was obvious that an O(N) dynamic programming solution was possible, but it ...
|
May 11, 2016, 11:41 a.m. |
+ 1 |
for Comment
dalluca: I really like this solution!!
|
May 2, 2016, 11:56 a.m. |
+ 1 |
for Comment
marceelofernandes: 1 year programming in python and i never had a chance to face this *a, now i understand it... Thanks...
|
May 2, 2016, 11:53 a.m. |
+ 1 |
for Comment
ale1ster: It seems in my immediate vicinity, I alone use it ;(
|
April 27, 2016, 10:16 p.m. |
+ 1 |
for Comment
wuhuarui1992: thanks veky. str.isupper is new to me. learned it.
|
April 21, 2016, 8:32 a.m. |
+ 1 |
for Comment
ljy95135: eye-opening. Seems that as long as knew a module or method exists before coding can save lots of tim...
|
April 21, 2016, 8:32 a.m. |
+ 1 |
for Comment
ljy95135: Thank you, i get it. I am learning Python by reading Learning Python, and when something is beyond w...
|
April 11, 2016, 4:27 p.m. |
+ 1 |
for Comment
ljy95135: Oh,now I totally get it:). Thank you!
|
April 11, 2016, 5:43 a.m. |
+ 1 |
for Comment
arjweb: Truely Pythonic :)
|
April 7, 2016, 7:19 p.m. |
+ 3 |
for
First-frantisek.jahoda
|
April 5, 2016, 10:04 p.m. |
+ 1 |
for Comment
Vincent_Fan: very cool
|
March 31, 2016, 6:45 a.m. |
+ 1 |
for Comment
Cjkjvfnby: Thank you, nice tricks.
|
March 31, 2016, 6:45 a.m. |
+ 1 |
for Comment
DiZ: And this algorithm is a perfect example of good taming! I should have saved many additions in inner ...
|
March 28, 2016, 6:48 a.m. |
+ 1 |
for Comment
ChouCream: Wow! For me definitely the best solution. Simple and beautiful.
|
March 24, 2016, 5:20 p.m. |
+ 1 |
for Comment
taicho: nice'n'clear.
|
March 23, 2016, 3:57 p.m. |
+ 3 |
for
IPv4Network-gyahun_dash
|
March 17, 2016, 11:11 a.m. |
+ 1 |
for Comment
suic: Crystal clear.
|
March 13, 2016, 10:45 a.m. |
+ 2 |
for
bytes-gyahun_dash
|
March 12, 2016, 7:55 p.m. |
+ 1 |
for
First-Dlown
|
March 9, 2016, 4:22 p.m. |
+ 1 |
for Comment
dalluca: The proverb of the hammer is really nice... I will remember it!! :-D Anyway, you're completely right...
|
March 8, 2016, 8:40 p.m. |
+ 1 |
for Comment
dalluca: I have done a test. I avareged the execution time of some implementations of this task on 100 random...
|
March 7, 2016, 2:03 p.m. |
+ 1 |
for Comment
nickie: Well, I'm not surprised with this solution (+1). I'm surprised that your "obvious" one, which I like...
|
March 6, 2016, 4:16 a.m. |
+ 5 |
for
Manacher's algorithm-DiZ
|
March 4, 2016, 8:39 p.m. |
+ 1 |
for Comment
Pouf: I usually do, I'm a big fan ;)
|
March 4, 2016, 2:54 p.m. |
+ 1 |
for Comment
Pouf: > Too many people have been seduced into golfing without first speaking Python as G-d (Guido, of cou...
|
March 4, 2016, 8:38 a.m. |
+ 1 |
for Comment
Moff: Thanks, i'll take into account for future participation.
|
March 4, 2016, 7:24 a.m. |
+ 1 |
for Comment
Moff: I always use `format` as method because often is need to change output using multiple arguments (tes...
|
March 4, 2016, 7:21 a.m. |
+ 4 |
for
I will stick to Py3! (66 chars)-DiZ
|
March 4, 2016, 7:10 a.m. |
+ 1 |
for Comment
Moff: Thanks, `translate` is muth better then my chain of replacces. I've forgotten such method.
|
March 4, 2016, 5:40 a.m. |
+ 1 |
for Comment
Pouf: Golfing habits die hard :D You are right of course, reversed is way more clear. Thanks for the "slic...
|
March 3, 2016, 1:52 p.m. |
+ 3 |
for
First-lezeroq
|
March 3, 2016, 1:50 p.m. |
+ 3 |
for
golf-minto
|
March 2, 2016, 3:08 p.m. |
+ 1 |
for Comment
iafilatov: Well, after thinking about it a bit... not much. Initially I thought about sum() as simply the best ...
|
March 1, 2016, 11:01 a.m. |
+ 1 |
for Comment
oduvan: Looks like it is a bug. We allowed users to use everything that is in `__all__` list. As I see now `...
|
March 1, 2016, 7:01 a.m. |
+ 1 |
for Comment
dalluca: I understund your point of view!! I will try to increment my knowledges to see as much solutions as ...
|
Feb. 29, 2016, 1:59 p.m. |
+ 1 |
for Comment
dalluca: Hi. I am quite new on this platform. I think you are right. And I appreciate your code. I learned ho...
|
Feb. 27, 2016, 3:54 a.m. |
+ 1 |
for Comment
mike.oxlong.vii: Why "v"*2 and "c"*2 rather than "vv" or "cc"?
|
Feb. 22, 2016, 6:45 p.m. |
+ 1 |
for Comment
silver659: I did not know this.
|