45
bryukh
16 32 48
15857/ 17173
Valentin Bryukhanov http://bryukh.com/
Last seen 2 years ago
Member for 11 years, 7 months, 16 days
Difficulty Normal
Developer, engineer and taskMaker.

Best reviews / Newest reviews
Lovely prints-Alexis_Bourgoin
And you can use triple quotes and make this without \n More
First-lanior
Nice! Interesting replace of combinations. But you can speed up your solution, because 101 == 010 for this task. More
First-bsoist 1
Very impressive one-liner and it's fast. Can I take your solution as a reference for the tests? More
First-bsoist 1
It's very interesting variant of combinations. I didn't know about this. Thank. And i upgraded my solution after your comment (bryukh_old my old login). More
First-PositronicLlama
Oh, heapq!!! I forgot about heapq. Thanks! More
First-srkr
It's new style of code? Not seen this before. More
First-ParadisiacMercy 1
it's strange name conventions. More
First-Serhiy
+ for percolate algorithm. But lines 20-39 can be shorten in function. Don't repeat yourself (DRY). More
Second-bryukh
It's the same as first -- testing. More
First-atzeatze
copyOfData = data For lists it's not a copy, you just created one more link for the same array. If you will change one, then you will change other. You can count elements with the method "count" [1, 2, 3, 1, 1].count(1) # return 3 More
First-onii
Sometime you use whitespace around operators, sometime -- not. More
First-mdreid
It's not DRY (Don't Repeat Yorself). You can merge four block for moving in one loop or function. And "return" without anything is not good -- it's little confuse. Good comments. More
Dijkstra-Short-Miaou
Reduced Dijkstra is nice :) Good comments, but too long lines. More
Second-Bibiche
Hard to read long lines. For unsolvable puzzle, you can check solvability (count inversions). More
Сombinatorics-bryukh 1
it's not fast -- i know, i can cached some variants for speed. But sometime i am lazy :) More
Recursive Generators-AndriusMk
Great solution. Simple for understanding. I agree with Kvas about Fraction -- slow thing. But this solution easy modified to float. So it's not important. Thank you for interesting solution. More
Trolling :)-AndriusMk
:) Thanks for this solution. It's funny, really. Crazy blind adventurer :) More
format format format for t-veky 1
You solution does not work for x0 > 10, because "{:+.3g}".format(12.12) == "+12.1" More
First-andy_s
Nice. I like these docstrings. More
(Parentheses)-veky 1
How are think, 12 steps is enough or too much? More
1 2 3 4
5
6 7 8