Nov. 23, 2017, 1:39 p.m. |
+ 1 |
for Comment
veky: I'm really not sure what you're trying to accomplish. This is just overcomplicated, "the core of Ham...
|
Nov. 23, 2017, 1:39 p.m. |
+ 1 |
for Comment
Vachenzo: It looks like you've commented out the code very well, which I love, so major props to you on that! ...
|
Nov. 23, 2017, 1:38 p.m. |
+ 1 |
for Comment
veky: When trying to understand this servant's code, master would be well advised to first search Wikipedi...
|
Nov. 23, 2017, 1:38 p.m. |
+ 1 |
for Comment
Vachenzo: Woah there. Some kind of strange henchman - mad scientist bonding going on over here? :D
|
Nov. 23, 2017, 1:38 p.m. |
+ 1 |
for Comment
veky: Simple Kruskal. V is set of vertices (1s in map). R is placeholder for result [pipes,length]. P is p...
|
Nov. 23, 2017, 1:38 p.m. |
+ 1 |
for Comment
pyos_c5874a6bf94549e5b7bf2a696: >I wonder who's gonna be the first to figure out for which ore coordinates all our solutions fail Qu...
|
Nov. 23, 2017, 1:38 p.m. |
+ 1 |
for Comment
veky: "generator expression must be parenthesized if not sole argument" I think Python just shot coffee ou...
|
Nov. 23, 2017, 1:38 p.m. |
+ 1 |
for Comment
pyos_c5874a6bf94549e5b7bf2a696: BTW, did you know there's a LISPy language that translates into Python AST? [http://docs.hylang.org/...
|
Nov. 23, 2017, 1:37 p.m. |
+ 1 |
for Comment
Vachenzo: I like finding ways to insert astrophysics into everyday conversation. :D
|
Nov. 23, 2017, 1:36 p.m. |
+ 1 |
for Comment
Bibiche: I would like to thank Bryukh, PositronicLlama, Bilou06, and so many others too : when I began with C...
|
June 24, 2013, 4:06 p.m. |
+ 1 |
for Comment
veky: Nice. But more easily written sum(cond for ...) than sum(1 for ... if cond), isn't it?
|
June 22, 2013, 4:06 p.m. |
+ 1 |
for Comment
oduvan: **"Think Python" by Allen B. Downey"** _http://www.greenteapress.com/thinkpython/_ - is an introduct...
|
June 22, 2013, 3:54 p.m. |
+ 1 |
for Comment
veky: I don't see what's so funny in binary addition.
|
June 20, 2013, 9:17 a.m. |
+ 1 |
for Comment
veky: > I know, but it will be redunant operations OMG. Now we're talking about milliseconds. I really don...
|
June 20, 2013, 9:13 a.m. |
+ 1 |
for Comment
bryukh: We need to do something with code highlighter -- it's hard to read oneliners with scrolling (for chr...
|
June 10, 2013, 7:52 a.m. |
+ 1 |
for Comment
bryukh: For his code, initializing must be with zero: el_dict[n] = 0
|
June 8, 2013, 8:54 p.m. |
+ 1 |
for Comment
LetterRip: I'd suggest a 'simulated annealing' where users are presented with a random solution to rank (10 poi...
|
June 5, 2013, 9:24 a.m. |
+ 1 |
for Comment
kvas: You're probably doing it in python2.7, where / for two integers is integer division (it always round...
|
Dec. 2, 2012, 10:38 a.m. |
+ 1 |
for Comment
MrBrushy: Got it now. You start with a map, i.e. a 2D array of positions, containing 'M', None, or a number. T...
|
Oct. 25, 2012, 2:46 p.m. |
+ 1 |
for Comment
fnedrik: You have effectively written your own implementation of "any" with bool, filter and lambda. Use the ...
|