Oct. 5, 2015, 11:11 a.m. |
+ 1 |
for Comment
alexanderkopke: simple, educational, brilliant! Thanks!
|
Oct. 1, 2015, 4:07 p.m. |
+ 1 |
for Comment
Pouf: No I didn't know this mission, I was just thinking about something huge and how 1e-9 would turn into...
|
Oct. 1, 2015, 1:21 p.m. |
+ 1 |
for Comment
Pouf: Great trick, I love it ! Just wondering, what would you have done if we had to find the surface area...
|
Oct. 1, 2015, 7:48 a.m. |
+ 1 |
for Comment
alexkindel: I guess modifying the argument to me is just heresy ;), but I sympathize with your reasons for doing...
|
Oct. 1, 2015, 6 a.m. |
+ 1 |
for Comment
Cjkjvfnby: You have you own programming style :)
|
Sept. 30, 2015, 12:44 p.m. |
+ 1 |
for Comment
aminami1127: Yes, to recurse is sometimes too divine for me to understand. How gentle for human python is!:) Than...
|
Sept. 30, 2015, 12:17 p.m. |
+ 1 |
for Comment
aminami1127: It's the first time I know the 'nonlocal' statement. I'm impressed that we can loop by using recursi...
|
Sept. 29, 2015, 12:36 p.m. |
+ 1 |
for Comment
aminami1127: Thank you! I could conceive only this solution.:)
|
Sept. 29, 2015, 6:08 a.m. |
+ 1 |
for Comment
TheOne: I can't understand one thing. What if X in 'PUSH X' is more then 9? E.g. x = 10, you will append 0 b...
|
Sept. 28, 2015, 5:38 p.m. |
+ 1 |
for
First-aminami1127
|
Sept. 28, 2015, 12:44 p.m. |
+ 1 |
for Comment
DiZ: Thanks! this translation will help many others :-D
|
Sept. 28, 2015, 11:05 a.m. |
+ 4 |
for
4 lines-DiZ
|
Sept. 27, 2015, 11:12 p.m. |
+ 1 |
for Comment
Sim0000: Thank you. Nice comment! I can achieve more shorter. if not (array is None or stack or sep_flag): # ...
|
Sept. 27, 2015, 11:11 p.m. |
+ 1 |
for Comment
bryukh: Code golf is funny. In future we will add additional rating for the shortest solutions.
|
Sept. 27, 2015, 11:07 p.m. |
+ 1 |
for Comment
kamitenshi: Speed does not matter when you are dealing with art ahahah :D
|
Sept. 27, 2015, 10:57 p.m. |
+ 1 |
for Comment
LukeSolo: You are wrong, slice of tuple will give another tuple, and tuple cannot be concatenated with list. T...
|
Sept. 26, 2015, 11:55 a.m. |
+ 1 |
for Comment
vananabu: :) flexible thinking
|
Sept. 25, 2015, 8:26 p.m. |
+ 1 |
for Comment
Just_Write: Haha! Well as I work through these missions I'll be sure to check out your solutions! Concision's be...
|
Sept. 25, 2015, 5:32 a.m. |
+ 1 |
for Comment
Just_Write: I've used try/except before but it's been awhile since my intro to coding class and it didn't occur ...
|
Sept. 24, 2015, 6:12 p.m. |
+ 1 |
for Comment
fishiwhj: > The use of data[1:] which copies the tail of the list. Again it will turn your O(n) solution to O(...
|
Sept. 24, 2015, 5:53 p.m. |
+ 1 |
for Comment
StefanPochmann: Got a [shorter one](http://www.checkio.org/mission/multiplication-table/publications/StefanPochmann/...
|
Sept. 24, 2015, 5:53 p.m. |
+ 1 |
for Comment
StefanPochmann: This one is one char longer, but equally long in Python 3 because it only has one division: checkio=...
|
Sept. 24, 2015, 5:52 p.m. |
+ 4 |
for
Shorter than htamas'-StefanPochmann
|
Sept. 24, 2015, 5:32 p.m. |
+ 1 |
for Comment
htamas: > BTW, you haven't actually run the above code, right? :-) Of course :).
|
Sept. 24, 2015, 5:26 p.m. |
+ 1 |
for Comment
hrvoje: ET phone home. :)
|
Sept. 24, 2015, 5:20 p.m. |
+ 1 |
for Comment
Bibiche: I like Veky's solution very much. It's very nice. I hope many people will vote for it !
|
Sept. 24, 2015, 4:24 a.m. |
+ 1 |
for Comment
leusgalvan: Wow, you really squeezed this one!
|
Sept. 22, 2015, 12:37 p.m. |
+ 1 |
for Comment
Czarinov: Thank you very much, Veky, was of great help ;).
|
Sept. 22, 2015, 12:35 p.m. |
+ 1 |
for Comment
fasatrix: I followed you as I have quite like your style of coding and I feel like I could learn a heaps from ...
|
Sept. 22, 2015, 12:30 p.m. |
+ 1 |
for Comment
andrewg12: just kinda wrote down my initial reaction and thoughts. Yes I want to learn, and I have been learnin...
|
Sept. 22, 2015, 12:30 p.m. |
+ 1 |
for Comment
andrewg12: What the heck is this thing!? I have a lot to learn
|
Sept. 22, 2015, 12:30 p.m. |
+ 1 |
for Comment
anonymorf: Awesome! Thanks for your comprehensive answer.
|
Sept. 22, 2015, 12:22 p.m. |
+ 1 |
for Comment
bryukh: Honestly in first version we had used tuple type checking of results, then we removed it, but "tuple...
|
Sept. 22, 2015, 12:22 p.m. |
+ 1 |
for Comment
Cjkjvfnby: Then you need to use coinsort instead of Timsort :)
|
Sept. 22, 2015, 12:17 p.m. |
+ 1 |
for Comment
Czarinov: Thanks man, that's a great answer. ;) > Solved all tasks a long time ago. Now I'm just teasing peopl...
|
Sept. 22, 2015, 12:15 p.m. |
+ 1 |
for Comment
JuliusArcanum: Gee? That's all? This two little lines return the winner of the game? Good! Thanks for sharing (and ...
|
Sept. 22, 2015, 12:15 p.m. |
+ 1 |
for Comment
marshall.zheng: wow! really awesome solution! eagerly to learn more about python!
|
Sept. 22, 2015, 7:23 a.m. |
+ 3 |
for
First-abupoonjaby
|
Sept. 19, 2015, 8:18 a.m. |
+ 1 |
for Comment
yaab22: Clear - many thanks. Is there some guidelines to prefer this syntax over others? I'm not looking for...
|
Sept. 19, 2015, 8:17 a.m. |
+ 1 |
for Comment
SrdjanTubin: Anything you need to maintain or extend after one or more years, is as easy to do as it is readable ...
|
Sept. 18, 2015, 5:34 p.m. |
+ 1 |
for Comment
Happiness: This is little crazy thing :-D
|
Sept. 16, 2015, 9:56 a.m. |
+ 1 |
for Comment
MhdTahawi: The first thing I do after solving any task is to RUN and look for yours.
|
Sept. 15, 2015, 1:14 p.m. |
+ 1 |
for Comment
MhdTahawi: Thanks, I learnt something new today :)
|
Sept. 15, 2015, 6:07 a.m. |
+ 1 |
for Comment
Sim0000: Wao!!
|
Sept. 12, 2015, 5:30 a.m. |
+ 1 |
for Comment
vananabu: It sound like a credit:) but it's more for me. Usually, I think over the solutions first go. I seen ...
|
Sept. 11, 2015, 4:08 p.m. |
+ 1 |
for Comment
suic: I know, it took quite a while :) _Lambdaphobia_ came into my mind as a kind of _epiphany_ and I had ...
|
Sept. 11, 2015, 2:42 a.m. |
+ 1 |
for Comment
brubru777: Thanks to your comment, I came up with an even better solution! Thanks.
|
Sept. 11, 2015, 2:36 a.m. |
+ 1 |
for Comment
suic: After I've read a few long threads under your solutions I have to say, that _lambdaphobia_ is a comm...
|
Sept. 10, 2015, 4:28 p.m. |
+ 2 |
for
First-brubru777
|
Sept. 10, 2015, 4:25 p.m. |
+ 1 |
for Comment
brubru777: I was surprised to see so many negative comments for your solution. It is a similar to mine but a bi...
|
Sept. 9, 2015, 7:39 p.m. |
+ 1 |
for Comment
bryukh: > I surely brought it to CheckiO Tssss, but yes :-)
|
Sept. 9, 2015, 10:21 a.m. |
+ 1 |
for Comment
AlexGiesbrecht: This is SO clean and efficient compared to mine... Gotta learn 'pythonese' a lot still
|
Sept. 9, 2015, 10:20 a.m. |
+ 1 |
for Comment
eugene128736871: thank you. What's best way to cache iterator sequence? And should i do it?
|
Sept. 8, 2015, 8:22 a.m. |
+ 3 |
for
I think this is the best!-andrewg12
|
Sept. 8, 2015, 8:04 a.m. |
+ 2 |
for
So Quick!-andrewg12
|
Sept. 8, 2015, 7:50 a.m. |
+ 1 |
for Comment
andrewg12: tried re, fmatch and a bunch of other fails till this
|
Sept. 7, 2015, 1:05 p.m. |
+ 1 |
for Comment
Janoo12: Thank you very much! Now everything is clear. I learnd a lot! :-)
|
Sept. 6, 2015, 5:54 p.m. |
+ 3 |
for
Minimal, simple solution.-dunpealer
|
Sept. 6, 2015, 5:53 p.m. |
+ 1 |
for Comment
dunpealer: As always with veky, good solution. Minor space optimization: we don't really need to copy the entir...
|
Sept. 6, 2015, 8:35 a.m. |
+ 1 |
for Comment
kest_iv: awesome code:)
|
Sept. 3, 2015, 9:19 p.m. |
+ 1 |
for Comment
vananabu: Very clever m + max(m - 100, 0)
|
Sept. 1, 2015, 6:06 p.m. |
+ 1 |
for Comment
anonymorf: This is awesome :D
|
Aug. 31, 2015, 5:43 p.m. |
+ 1 |
for Comment
vananabu: Yes, I think about it. In both cases we need to check stack and take last element of stack.
|
Aug. 31, 2015, 5:40 p.m. |
+ 1 |
for Comment
bukebuer: I carefully checked various different find(). You're right. My code doesn't work as I wish. And your...
|
Aug. 31, 2015, 5:29 p.m. |
+ 1 |
for Comment
nickie: In Pascal, if the function's name constitutes the LHS of an assignment, it denotes the result that e...
|
Aug. 30, 2015, 2:31 p.m. |
+ 1 |
for Comment
anonymorf: Thank you very much for your insights.
|
Aug. 30, 2015, 2:30 p.m. |
+ 1 |
for Comment
anonymorf: thanks :)
|
Aug. 28, 2015, 12:26 p.m. |
+ 1 |
for Comment
shuwz: I don't know why people are attacking you. I enjoy coming to your solutions and learning something n...
|
Aug. 28, 2015, 3:55 a.m. |
+ 1 |
for Comment
dunpealer: I did, and it passed the tests: def checkio(d1, d2): w1, w2 = d1.weekday(), d2.weekday() count = (d2...
|
Aug. 27, 2015, 7:07 p.m. |
+ 1 |
for Comment
dunpealer: Very nice, clear solution. One question: Why decrease w2 instead of increasing w1? Seems clearer.
|
Aug. 27, 2015, 5:15 p.m. |
+ 1 |
for Comment
ciel: I agree to buffer, but as for ptr, some program doesn't run correctly because ptr is not preserved a...
|
Aug. 27, 2015, 4:18 a.m. |
+ 1 |
for Comment
jtokaz: 67 in 2.7. =P
|
Aug. 25, 2015, 1:10 p.m. |
+ 1 |
for Comment
nickie: I didn't think I had the shortest solution anyway, and I'm a bit ashamed that so many people have li...
|
Aug. 25, 2015, 1:04 p.m. |
+ 1 |
for Comment
Sedov: Loved the line "elif queue:". Didn't think about using the boolean character of an empty list, settl...
|
Aug. 25, 2015, 7:18 a.m. |
+ 1 |
for Comment
jtokaz: Thanks for the problem. The statement is clear. One liner for solution. The statement "Notice: The n...
|
Aug. 24, 2015, 8:05 p.m. |
+ 1 |
for Comment
vananabu: your solution is laconic
|
Aug. 24, 2015, 6:53 p.m. |
+ 1 |
for Comment
Bronepoezd: Thank you, veky, for the idea how to solve Univocalic Factaral problem (http://www.checkio.org/missi...
|
Aug. 23, 2015, 1:09 p.m. |
+ 1 |
for Comment
prlombaard: ditto, thank you for the explanation I also find it very inspiring to read through how you got to th...
|
Aug. 23, 2015, 6:39 a.m. |
+ 1 |
for Comment
fuzzy-focus: Good to know, very educational. Thanks for that.
|
Aug. 23, 2015, 6:37 a.m. |
+ 1 |
for Comment
taras-sereda: well, for me 140 it was no to much, hope that one day I'll be able to apply these words for my solut...
|
Aug. 23, 2015, 6:25 a.m. |
+ 1 |
for Comment
OMFGNuts: Unfortunately, blocking feature won't come out any time soon, we have something more important and i...
|
Aug. 23, 2015, 6:21 a.m. |
+ 1 |
for Comment
JosephBernard: I seem to have the same problem as coming from c++ I go back to the fundamentals and since I don't k...
|
Aug. 22, 2015, 7:27 a.m. |
+ 1 |
for Comment
Sim0000: From TeX source.
|
Aug. 22, 2015, 5:35 a.m. |
+ 1 |
for Comment
Czarinov: Alright, I went with A and B, ended up with this: checkio = lambda n: A[n//100]+' hundred'*(n>99) + ...
|
Aug. 21, 2015, 8:58 p.m. |
+ 1 |
for Comment
Czarinov: Oh my!...
|
Aug. 21, 2015, 9:30 a.m. |
+ 1 |
for Comment
texom512: For your first point: I had exactly the same reaction as you when I saw that in [the first solution]...
|
Aug. 20, 2015, 5:03 p.m. |
+ 1 |
for Comment
texom512: Sorry I confused with that: https://www.python.org/dev/peps/pep-0008/#imports "Imports should usuall...
|
Aug. 20, 2015, 5:51 a.m. |
+ 1 |
for Comment
s_prapat: I love it. :) Bending my mind. Normally I code straight to make it easy to be understood by others. ...
|
Aug. 20, 2015, 5:46 a.m. |
+ 1 |
for Comment
Czarinov: Oh man, finally I picked your solution apart and got to understand it. Suddenly it's not some random...
|
Aug. 19, 2015, 5:55 p.m. |
+ 1 |
for Comment
Czarinov: Wrong? Or different? :) That was a great link you posted. That was some awesome stuff to learn.
|
Aug. 19, 2015, 5:23 p.m. |
+ 1 |
for Comment
remakio: Very beautifull!
|
Aug. 18, 2015, 10:02 p.m. |
+ 1 |
for Comment
Czarinov: Holy cows!... triple thanks. You don't even know how much weight you lifted off my mind.
|
Aug. 18, 2015, 8:30 p.m. |
+ 1 |
for Comment
Czarinov: mind blown... PS I have yet to pick your solution apart. I tried reading comments, but I just need t...
|
Aug. 17, 2015, 6:08 p.m. |
+ 1 |
for Comment
Czarinov: Of course, I see your point. > Why are you so exclusionary? I'm lost in the world of Python. Borders...
|
Aug. 17, 2015, 7:15 a.m. |
+ 1 |
for Comment
widzard: great !!!
|
Aug. 16, 2015, 9:47 p.m. |
+ 1 |
for Comment
Czarinov: > Horrible. :-P :D I thought this was nice... > First, why those empty lines? I have a high DPI scre...
|
Aug. 13, 2015, 10:07 p.m. |
+ 1 |
for Comment
not_real: You have convinced me. I have changed now queue.pop(0) by queue.popleft() in my solution
|
Aug. 13, 2015, 3:57 p.m. |
+ 2 |
for
First-Paragraph8_325930ddb5f04074a2f
|
Aug. 13, 2015, 3:41 p.m. |
+ 3 |
for
Beginner-Paragraph8_325930ddb5f04074a2f
|
Aug. 13, 2015, 7:23 a.m. |
+ 1 |
for Comment
hanpari: I have learnt a lot from you anyway. Thanks for link. My opinion differs from yours because as perso...
|