Aug. 2, 2019, 6:38 p.m. |
+ 1 |
for Comment
evrur97: Cool idea - include zero and strip it out while building. Your use of j() for ' '.join had me runnin...
|
April 8, 2019, 7:41 p.m. |
+ 1 |
for Comment
veky: Since I am probably the guiltiest for introducing golfing to CiO, let me say something in my defense...
|
Nov. 23, 2017, 1:45 p.m. |
+ 1 |
for Comment
veky: Bresenham is cool, but overkill. You just need to see if a line intersects any of the four edges. Th...
|
May 28, 2016, 9:51 a.m. |
+ 1 |
for Comment
hoboceo: Respect the sorcerery in line 2,3.
|
May 28, 2016, 9:51 a.m. |
+ 1 |
for Comment
twkiel: Now that is effort. :)
|
May 28, 2016, 9:50 a.m. |
+ 1 |
for Comment
gyahun_dash: Thank you.
|
May 28, 2016, 9:37 a.m. |
+ 1 |
for Comment
Dr-Turner_bac46582e10b45e1b070: Good answer. I didn't know about `abs()`
|
May 28, 2016, 9:37 a.m. |
+ 1 |
for Comment
tarasenkoa: nice formula!
|
May 28, 2016, 9:31 a.m. |
+ 1 |
for Comment
kangnahua: Hi just want to thank you for your code. It's the most simplistic one and taught me how to use all()...
|
Jan. 28, 2016, 8:51 p.m. |
+ 1 |
for Comment
diegueus9: Firstly, I must apologize to you guys because I'm a non-native English speaker and a kind of self-ta...
|
Jan. 28, 2016, 8:50 p.m. |
+ 1 |
for Comment
hanpari: Please, dont do something like this. It will probably backfire to you. There are a lot of competitor...
|
Oct. 30, 2015, 8:32 p.m. |
+ 1 |
for Comment
ForcePush: Nice DP.
|
Oct. 30, 2015, 8:32 p.m. |
+ 1 |
for Comment
Sedfer: Nice idea to save only 1 row in DP.
|
Aug. 13, 2015, 6:47 p.m. |
+ 1 |
for Comment
argrento: Nice computing of the MAX :)
|
July 23, 2015, 8:03 p.m. |
+ 1 |
for Comment
breeden.christopher: cool, pretty much the same thing i had, but shorter.
|
July 10, 2015, 5:21 p.m. |
+ 1 |
for Comment
drobotnik: nice use of all()
|
July 7, 2015, 7:05 p.m. |
+ 1 |
for Comment
CraigFranklin: That's got to be close to perfect.
|
July 7, 2015, 7:04 p.m. |
+ 1 |
for Comment
CaptCalculator: one line. nice.
|
May 30, 2015, 5:54 p.m. |
+ 1 |
for Comment
Oroitz_f4570b275dd34170b4f209a: wow, amazing solution =O
|
May 6, 2015, 6:52 p.m. |
+ 1 |
for Comment
soogie: so cool!
|
April 14, 2015, 9:15 a.m. |
+ 1 |
for Comment
suic: Hi, I know that is an older solution. I suggest some cleanup: c = map(int, bin(c)[2:].zfill(len(w)))...
|
March 27, 2015, 2:43 p.m. |
+ 1 |
for Comment
Peter.White: I was thinking about using a dictionary, but being fairly new to the concept, I couldn't figure it o...
|
Feb. 22, 2015, 10:15 a.m. |
+ 1 |
for Comment
blabaster: Hmm, I don't know... [StackOverflow say](http://stackoverflow.com/questions/5893163/what-is-the-purp...
|
Feb. 13, 2015, 9:49 p.m. |
+ 1 |
for Comment
veky: You already said everything relevant. I can just add a bit of [funny side of the story](http://www.c...
|
Feb. 11, 2015, 8:46 a.m. |
+ 1 |
for Comment
p1co: Wow, that is pretty impressive. Puts my 35 line solution to shame.
|
Feb. 10, 2015, 8:16 p.m. |
+ 1 |
for Comment
suic: Hi, this looks better. But there is still three times the same pattern, which you could eliminate e....
|
Feb. 10, 2015, 11:59 a.m. |
+ 1 |
for Comment
OMFGNuts: No problemo :) Good luck, have fun
|
Feb. 1, 2015, 10:04 a.m. |
+ 1 |
for Comment
tarikki: Thanks!
|
Feb. 1, 2015, 10:03 a.m. |
+ 1 |
for Comment
PsnDth: Thanks for the tip, spoty
|
Feb. 1, 2015, 10:02 a.m. |
+ 1 |
for Comment
Sim0000: Yes, simple :-)
|
Jan. 28, 2015, 9:48 p.m. |
+ 1 |
for Comment
dagger126: This can rewrite set(a) <= set(b)
|
Jan. 28, 2015, 9:38 p.m. |
+ 1 |
for Comment
e.roboda: Thank you for a good advice.
|
Jan. 27, 2015, 8:44 a.m. |
+ 1 |
for Comment
Sim0000: Thank you. This my favorite one :-)
|
Jan. 26, 2015, 9:49 p.m. |
+ 1 |
for Comment
Sim0000: Thank you for your comment. We can use + - & | operation for Counter. See [document](https://docs.py...
|
Jan. 21, 2015, 4:47 p.m. |
+ 1 |
for Comment
metallidog: Cool, I've never seen zfill() before. I'll add it to my library. Thanks.
|
Jan. 11, 2015, 10:28 p.m. |
+ 1 |
for Comment
suic: Hi, 3 little things: # connection = (connection, ) is redundant self.connections += (connection, ) #...
|
Jan. 10, 2015, 11:34 a.m. |
+ 1 |
for Comment
veky: First, I don't think you really do (need to google that). From the title and the context, I assume y...
|
Dec. 31, 2014, 7:44 p.m. |
+ 1 |
for Comment
suic: __Offtopic:__ I really hated, hate and will hate kindergarten(s) :) (I have experience with an "olds...
|
Dec. 31, 2014, 7:41 p.m. |
+ 1 |
for Comment
veky: About languages, an interesting detail: in Croatian, "teach" and "learn" are not the same verb, but ...
|
Dec. 31, 2014, 7:38 p.m. |
+ 1 |
for Comment
suic: In fact I just expressed my disagreement and I still disagree with __Blastus' opinion__. To your arg...
|
Dec. 31, 2014, 7:36 p.m. |
+ 1 |
for Comment
suic: > CheckiO is hardly helpful as a teaching tool. I simply don't agree.
|
Dec. 31, 2014, 7:35 p.m. |
+ 1 |
for Comment
suic: > I am confused by the interface and where to begin. I know that this is an old thread and what I wa...
|
Dec. 16, 2014, 7:30 a.m. |
+ 1 |
for Comment
donBit: Good Job !!
|
Dec. 2, 2014, 3:38 p.m. |
+ 1 |
for Comment
veky: Of course. In Python2, 3/5 is 0. In Python3, it is 0.6. In Python2, 2**99 is 63382530011411470074835...
|
Nov. 22, 2014, 9:46 p.m. |
+ 1 |
for Comment
pthapliyal781_20249ec4e5164e20: Thank you kynnjo for nice and detailed explanation, it is fantastic. I really appreciate your effort...
|
Nov. 22, 2014, 5:21 p.m. |
+ 1 |
for Comment
kynnjo: I assume you really meant the matching test above to be re.match(r'^(?=.*[a-z])(?=.*[A-Z])(?=.*[\d])...
|
Nov. 21, 2014, 8:30 p.m. |
+ 1 |
for Comment
pthapliyal781_20249ec4e5164e20: I have tried that and commented later only mistake was a dot(.) after ^. Below is the final solution...
|
Nov. 17, 2014, 3:31 p.m. |
+ 1 |
for Comment
RedheadA3_8469cf456c5840cf9112: Never mind ... I figured it out. I had to change "print" to "return"
|
Oct. 20, 2014, 9:49 a.m. |
+ 1 |
for Comment
vinc: I think it's overhead. 2d is clearer. "Flat is better than nested."
|
Oct. 17, 2014, 8:36 a.m. |
+ 1 |
for Comment
bryukh: matrix\_in and matrix\_out is the same list and when you change one, then you change other. You need...
|
Sept. 24, 2014, 11:01 a.m. |
+ 1 |
for Comment
artemrudenko: Cool, small tips: for x in range(0,8): No need to specify 0 in range, e.g. can be replaced with: for...
|
Aug. 13, 2014, 5:46 a.m. |
+ 1 |
for Comment
bryukh: import string if ch not in string.ascii_letters: Or with regexp
|
Aug. 10, 2014, 1:09 p.m. |
+ 1 |
for Comment
Sim0000: And spoty :-)
|
July 31, 2014, 5:59 a.m. |
+ 1 |
for Comment
veky: Ok, first: Too. Many. Comments. Really. This is not C, where you write the code primarily for the pr...
|
July 28, 2014, 7:54 p.m. |
+ 1 |
for Comment
bryukh: Interesting solution.
|
July 1, 2014, 4:27 p.m. |
+ 1 |
for Comment
Sim0000: I try your code. I don't know the reason, but I have found what is happen. In test 8 (not test 7), y...
|
June 17, 2014, 6:10 p.m. |
+ 1 |
for Comment
nathan.l.cook: As noob, I read "Clear, Readable, Documented and Educational" at face value. My understanding of the...
|