Sept. 21, 2021, 9:50 p.m. |
+ 1 |
for Comment
jsg-inet: At the end.... I could understand it! Very smart aproach using zip to obtain the tuples! Thanx for s...
|
Nov. 23, 2017, 1:44 p.m. |
+ 1 |
for Comment
veky: It's nice and all, but haven't you overengineered it a bit? :-) The board has 64 squares, not a mill...
|
Nov. 23, 2017, 1:44 p.m. |
+ 1 |
for Comment
Cjkjvfnby: Nice solution. **open** is bad name for variable. Regular expression and **raise** not necessary (by...
|
Nov. 23, 2017, 1:44 p.m. |
+ 1 |
for Comment
Cjkjvfnby: **open** is builtin python function (even it does not present here) don't shadow it. You doc string ...
|
Nov. 23, 2017, 1:43 p.m. |
+ 1 |
for Comment
ysenko: sorted() returns list, so you don't need to do the following: points = list(sorted(set(points))) (pl...
|
Nov. 23, 2017, 1:43 p.m. |
+ 1 |
for Comment
veky: Very high level code. Exact, documented, with references. I like it. BTW line 28 made me laugh. Avoi...
|
Nov. 23, 2017, 1:43 p.m. |
+ 1 |
for Comment
nickie: A definite improvement over the straightforward and much shorter "count them all" in O(N^4). I'm won...
|
Nov. 23, 2017, 1:43 p.m. |
+ 1 |
for Comment
veky: It's nice to see a task where PL uses fewer lines than me. :-D
|
Nov. 23, 2017, 1:39 p.m. |
+ 1 |
for Comment
veky: Nice and straightforward. But Dijkstra is massive overkill. The point is, there are only two paths (...
|
Nov. 23, 2017, 1:35 p.m. |
+ 1 |
for Comment
guido: This is a perfectly acceptable solution for passwords, which are typically not very long. I am going...
|
Nov. 23, 2017, 1:33 p.m. |
+ 1 |
for Comment
gp48maz1: Could you explain why you did list(map(...)) on the outside? I read about using zip(*matr) or even l...
|
Nov. 23, 2017, 1:32 p.m. |
+ 1 |
for Comment
bryukh: "all" is a builtin name, so this is a bad choice.
|
March 4, 2014, 8:11 a.m. |
+ 1 |
for Comment
odwl: I think that list(zip(*matr)) is enough.
|