Nov. 23, 2017, 1:42 p.m. |
+ 1 |
for Comment
oduvan: Ok. It's time to open CheckiO Art section
|
Nov. 23, 2017, 1:42 p.m. |
+ 1 |
for Comment
bryukh: I know him! It's Pacman's ghost!!!
|
Nov. 23, 2017, 1:41 p.m. |
+ 1 |
for Comment
veky: It's not _that_ bad. More like just one panel from that comic. ;-) If you really want speed, my solu...
|
Nov. 23, 2017, 1:40 p.m. |
+ 1 |
for Comment
nickie: This uses the fact that in an arithmetic system with base k, a number is divisible by k-1 if and onl...
|
Nov. 23, 2017, 1:40 p.m. |
+ 1 |
for Comment
veky: Nice solution (as always:). A few details: * For distance, see complex and abs. Or at least math.hyp...
|
Nov. 23, 2017, 1:35 p.m. |
+ 1 |
for Comment
nickie: For anyone interested in an explanation of this solution, see [my comment](http://www.checkio.org/mi...
|
Nov. 23, 2017, 1:35 p.m. |
+ 1 |
for Comment
nickie: I believe we have the same algorithm with a few rather technical differences, affecting performance ...
|
Nov. 23, 2017, 1:33 p.m. |
+ 1 |
for Comment
Zanzacar: http://www.youtube.com/watch?v=s-CYnVz-uh4
|
Nov. 23, 2017, 1:33 p.m. |
+ 1 |
for Comment
nickie: Using a priority queue would reduce both execution time and the verbosity of your code quite dramati...
|
Nov. 23, 2017, 1:33 p.m. |
+ 1 |
for Comment
Cjkjvfnby: you can use .strip('[]') enstead of two replace
|
Dec. 14, 2014, 9:14 p.m. |
+ 1 |
for Comment
veky: I ask, inter alia, because it is not easily googlable, and it would be a shame if you were denied su...
|
Dec. 13, 2014, 4:54 p.m. |
+ 1 |
for Comment
veky: > I didn’t even know function annotations existed in Python. Be prepared, it seems that Guido has fi...
|
Dec. 13, 2014, 4:14 p.m. |
+ 1 |
for Comment
cactustictacs: I'll keelhaul ye, ye scurvy dog! Nah it's totally cool, to be honest I thought it was hilarious when...
|
Dec. 12, 2014, 9:55 p.m. |
+ 1 |
for Comment
veky: angles really could have been a list of dicts, not of tuples. At least namedtuples. angles[1][0] jus...
|
Oct. 9, 2014, 7 a.m. |
+ 1 |
for Comment
veky: > Yes, of course. Don't know why I did it this way. I think the reason is the same as below: at one ...
|
Oct. 8, 2014, 11:49 p.m. |
+ 1 |
for Comment
veky: That index fiddling... +nb_lanterns-1-lantern... and you never use lantern for anything else. Wasn't...
|
Sept. 20, 2014, 11:09 p.m. |
+ 1 |
for Comment
htamas: [Did you mean](http://tr.im/4tbdr): checkio = (lambda N, H, R=range, L=len: (lambda *_:0)(*map(*reve...
|
Sept. 28, 2013, 10:25 p.m. |
+ 1 |
for Comment
Amachua: You successfully handle exceptions . Nice solution! (Finally not alone.:D )
|
Sept. 23, 2013, 10:27 p.m. |
+ 1 |
for Comment
Miaou: The solution would be nicer if points which **ARE** on the convex hull could be avoided. For instanc...
|