March 21, 2018, 5:20 p.m. |
+ 5 |
for
regex oneliner-StefanPochmann
|
Jan. 19, 2018, 6:32 p.m. |
+ 1 |
for
Variations of Data Classes
|
Nov. 23, 2017, 1:46 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:44 p.m. |
+ 1 |
for Comment
veky: Well, that's exactly why UserDict exists (precisely, why it still exists in Py3k). It is much closer...
|
May 1, 2017, 11:38 a.m. |
+ 1 |
for Comment
ant443: Nevermind, I found my answer here: https://www.reddit.com/r/Python/comments/44dm7i/what_would_you_ca...
|
March 19, 2017, 3:44 p.m. |
+ 1 |
for
!r-veky
|
Feb. 21, 2017, 12:41 p.m. |
+ 1 |
for
Forum Tags
|
Feb. 2, 2017, 4:14 p.m. |
+ 1 |
for
Itertools. Part2
|
Jan. 31, 2017, 11:55 a.m. |
+ 1 |
for
Python Bruteforces
|
Dec. 9, 2016, 4:07 p.m. |
+ 1 |
for
First-dronnix
|
Oct. 26, 2016, 10:02 a.m. |
+ 1 |
for Comment
Thenbacker: That's one slick one-liner, long live itertools!
|
Oct. 9, 2016, 6:11 a.m. |
+ 1 |
for
Three checks-Dodge_545c07bd039b4e1aa1a6dd88
|
Oct. 9, 2016, 6:11 a.m. |
+ 1 |
for
First-tom-tom_f993b3abc4814d4cb5476e
|
Oct. 5, 2016, 1:12 p.m. |
+ 1 |
for Comment
oduvan: I would put it in creative category
|
April 6, 2016, 2:28 p.m. |
+ 1 |
for Comment
e-l: Thank you for the comment. You're quite right ( **q** was a depth counter for the puprose of recursi...
|
March 28, 2016, 3:06 a.m. |
+ 1 |
for Task
Making Change
|
March 22, 2016, 5:46 p.m. |
+ 1 |
for
First-Sim0000
|
March 13, 2016, 8:46 a.m. |
+ 1 |
for
Assault of batteries-veky
|
March 11, 2016, 12:52 p.m. |
+ 2 |
for
Bit manipulation without comments-lezeroq
|
March 11, 2016, 12:11 p.m. |
+ 1 |
for Comment
DiZ: `range` in Python is _exclusive_. If you want `l = [1, 2, 3, ..., n]`, then `l = list(range(1, n + 1...
|
March 6, 2016, 2:06 p.m. |
+ 3 |
for
Maths - with proof-Juge_Ti
|
March 6, 2016, 7:25 a.m. |
+ 1 |
for
First-gilkzxc
|
March 5, 2016, 8:18 a.m. |
+ 1 |
for Comment
Sim0000: Only 14 pattern! Yes, that's right :-)
|
March 1, 2016, 1:49 p.m. |
+ 1 |
for Comment
spoty: '\D+ \D+ \D+' it's shorter :)
|
Feb. 26, 2016, 7:57 a.m. |
+ 1 |
for Post
Monthly LeaderBoard
|
Feb. 23, 2016, 5:24 p.m. |
+ 1 |
for Comment
JMichaelis: Nice, clear solution. The cast to str(int(c.isalpha)) returns the same result as your if clause '1' ...
|
Jan. 28, 2016, 4:59 p.m. |
+ 1 |
for Post
What will be the future of CheckiO?
|
June 5, 2015, 10:27 p.m. |
+ 1 |
for Post
Wrong UI bar
|
Jan. 30, 2015, 3:54 p.m. |
+ 1 |
for Comment
bryukh: Special Thanks to @Sim0000, @bukebuer, @gyahun_dash, @Hartrik, @veky and @hanpari!
|
Dec. 17, 2014, 3:45 p.m. |
+ 1 |
for Post
Mission Ideas
|
Dec. 17, 2014, 11:22 a.m. |
+ 1 |
for Task
Bacteria Colonies
|
Dec. 15, 2014, 12:23 p.m. |
+ 1 |
for Comment
bryukh: "default" is simple and pleasant syntax sugar in 3.4.
|
Dec. 11, 2014, 1:23 p.m. |
+ 1 |
for Task
DNA Common Sequence
|
Nov. 29, 2014, 5:44 p.m. |
+ 1 |
for Task
Codeship
|
Nov. 22, 2014, 4:35 p.m. |
+ 1 |
for Comment
bryukh: > And thank you for featuring my solution It's hard to skip it. Thank you for these really interesti...
|
Nov. 22, 2014, 4:34 p.m. |
+ 1 |
for
Community Reviews: The Building Missions
|
Nov. 14, 2014, 4:14 p.m. |
+ 2 |
for
Try: understand-veky
|
Nov. 6, 2014, 12:57 p.m. |
+ 1 |
for Comment
Sim0000: I try to examine. * vote: score (detail) * +0: +8 (only publish) * +1: +23 (8 + 15) * +2: +35 (8 + 1...
|
Nov. 3, 2014, 4:51 a.m. |
+ 1 |
for Comment
bryukh: You found it! You are first, gratz! :-) Honestly we are using reducing coefficient and for the first...
|
Oct. 25, 2014, 2:13 p.m. |
+ 3 |
for
First-Sim0000
|
Oct. 18, 2014, 5:23 a.m. |
+ 1 |
for Comment
blabaster: Yes, it works. I think, dict and derivatives are good for sparse data, like Conway's life (I mean in...
|
Oct. 18, 2014, 4:38 a.m. |
+ 1 |
for
stack-blabaster
|
Oct. 15, 2014, 10:33 a.m. |
+ 3 |
for
no cache-blabaster
|
Oct. 15, 2014, 10:33 a.m. |
+ 1 |
for Comment
blabaster: For this case cache is waste of time. Neighbourhood calculation is easy, if reasonable organized (in...
|
Oct. 6, 2014, 3:29 p.m. |
+ 1 |
for Comment
vinc: sum(sum(r[cs]) for r in grid[rs])
|
Oct. 5, 2014, 6:55 a.m. |
+ 1 |
for Comment
Sim0000: x-(x>0) is more shorter :-)
|
Oct. 5, 2014, 6:10 a.m. |
+ 3 |
for
around-veky
|
Oct. 4, 2014, 4:29 a.m. |
+ 3 |
for
literally Counter-veky
|
Oct. 4, 2014, 3:46 a.m. |
+ 1 |
for
First-artemrudenko
|
Oct. 3, 2014, 12:28 p.m. |
+ 1 |
for
First-Sim0000
|
Oct. 1, 2014, 5:30 p.m. |
+ 1 |
for Comment
veky: Cool. Especially the - grid[row][col] part. ;-) In slicing, max is unfortunately necessary, since -1...
|
Sept. 24, 2014, 2:31 p.m. |
+ 1 |
for
The Fellowship of the Code
|
Sept. 20, 2014, 11:38 a.m. |
+ 1 |
for Comment
veky: Yeah, at first I thought inheriting from Counter would be a nice idea. However, it's insistance on r...
|
Sept. 19, 2014, 3:13 p.m. |
+ 1 |
for Comment
veky: Don't write comments, write Python: https://docs.python.org/3.5/howto/regex.html#non-capturing-and-n...
|
Sept. 16, 2014, 10:03 a.m. |
+ 1 |
for Comment
veky: Hm... do we know that new encrypted message will always be shorter than the old one? Or at least tha...
|
Sept. 3, 2014, 1:11 p.m. |
+ 1 |
for
Indexcept-veky
|
Sept. 3, 2014, 1:10 p.m. |
+ 1 |
for
(em)powering-ale1ster
|
Aug. 29, 2014, 5:04 p.m. |
+ 1 |
for Comment
ale1ster: I think that it would be better not to view the other solutions, but instead hints to the "tricks" u...
|
Aug. 29, 2014, 3:38 p.m. |
+ 1 |
for Comment
artemrudenko: Somewhere in Python docs i have found that None should be checked using the following snippet: value...
|
Aug. 22, 2014, 6:07 p.m. |
+ 1 |
for Post
Tests are weak, cause static.
|
Aug. 22, 2014, 9:21 a.m. |
+ 1 |
for Post
Functions any() and all() on empty list.
|
Aug. 21, 2014, 4:53 p.m. |
+ 1 |
for
decorator-Sim0000
|
Aug. 15, 2014, 7:20 a.m. |
+ 1 |
for Comment
artemrudenko: Small addition is that you can replace 'sorted(enum(rods), key = lambda ir: ir[1])' with 'sorted(enu...
|
Aug. 12, 2014, 6:39 p.m. |
+ 1 |
for
First-aotus
|
Aug. 7, 2014, 12:56 p.m. |
+ 1 |
for Post
Some statistic report about 88th puzzle
|
Aug. 2, 2014, 7:59 a.m. |
+ 1 |
for Comment
veky: Of course it's hard to read, when you've written it in Haskell. :-D Python is not really optimized f...
|
July 30, 2014, 5:45 p.m. |
+ 1 |
for Comment
veky: avoidable(p, q) = all(map(int.__ne__, index(p), index(q))) Many people don't know map can take more ...
|
July 25, 2014, 3:59 p.m. |
+ 1 |
for Comment
veky: No, I meant the literal first sentence. > This document gives coding conventions **for the Python co...
|
July 24, 2014, 3:16 p.m. |
+ 2 |
for
Irrational-veky
|
July 24, 2014, 3:14 p.m. |
+ 1 |
for Comment
veky: This is an original reducer. :-) Since you use Fraction and reduce only once, it would probably be c...
|
July 12, 2014, 5:45 p.m. |
+ 1 |
for
First-drgonzo132
|
July 9, 2014, 12:39 p.m. |
+ 2 |
for
68 chars-Sim0000
|
July 9, 2014, 10:42 a.m. |
+ 1 |
for
First-Sim0000
|
July 9, 2014, 2:11 a.m. |
+ 2 |
for
First-coells
|
July 7, 2014, 3:37 p.m. |
+ 2 |
for
Second-coells
|
July 6, 2014, 11:51 a.m. |
+ 3 |
for
log then Halley-Sim0000
|
July 4, 2014, 4:15 p.m. |
+ 1 |
for
log then Newton-Sim0000
|
June 28, 2014, 11:31 p.m. |
+ 2 |
for
Partial-veky
|
June 16, 2014, 10:18 a.m. |
+ 2 |
for
First-netsamir
|
June 1, 2014, 6:54 a.m. |
+ 1 |
for Comment
pohmelie: The difference between *map and zip is laziness. So, in this case you are right, definitly better to...
|
May 30, 2014, 4:41 p.m. |
+ 1 |
for Task
Square Spiral
|
May 18, 2014, 4:29 p.m. |
+ 1 |
for Task
Cipher Crossword
|
May 12, 2014, 2:57 p.m. |
+ 1 |
for Comment
Cjkjvfnby: > For example, if I write the following code, do you have the same comment? No, this code is styled ...
|
May 2, 2014, 5:55 a.m. |
+ 1 |
for
auto-painting-bunnychai
|
April 20, 2014, 4:01 p.m. |
+ 2 |
for
All Math-macfreek
|
April 19, 2014, 7:33 a.m. |
+ 2 |
for
Nice and easy-coells
|
April 8, 2014, 5:21 p.m. |
+ 1 |
for
Short-Sim0000
|
April 3, 2014, 3:14 p.m. |
+ 1 |
for Comment
veky: Well, I don't think they will be "integrated", precisely because of such things as your example. It'...
|
March 23, 2014, 4:06 p.m. |
+ 1 |
for
Third-Sim0000
|
March 10, 2014, 4:27 p.m. |
+ 1 |
for
Using Regex-Eldin
|
March 10, 2014, 3:19 p.m. |
+ 1 |
for
First-cbrunet
|
March 1, 2014, 5:56 p.m. |
+ 2 |
for
Really short-panki
|