March 15, 2017, 5:45 p.m. |
+ 1 |
for Comment
Andrei_Khalipau: Very nice and clean What is about time complexity? If I'm thinking correctly list.count() has O(n), ...
|
Jan. 8, 2017, 9:04 p.m. |
+ 1 |
for Comment
brubru777: Wow. Very clever. Flawless!
|
Jan. 8, 2017, 5:35 a.m. |
+ 1 |
for Comment
brubru777: Very clean solution. Just a little question. Wouldn't `max` be simpler than `sorted(...)[-1]`?
|
Sept. 10, 2016, 5:16 a.m. |
+ 1 |
for Comment
veky: Python is not Java. Not every API should be a single method of an ad hoc class. distance could be ju...
|
Sept. 9, 2016, 1:58 p.m. |
+ 1 |
for Comment
arthur.fayzullin: I have rewrite your solution a bit :-) [here it is](https://py.checkio.org/mission/roman-numerals/pu...
|
Sept. 9, 2016, 1:53 p.m. |
+ 5 |
for
Second (pretend to be more universal than first)-arthur.fayzullin
|
Aug. 15, 2016, 9:20 p.m. |
+ 1 |
for Comment
han97: Nice trick with fucntools.partial. Haven't know 'bout it
|
May 25, 2016, 4:24 p.m. |
+ 1 |
for Comment
stkrp: len(powers) - 1 It's calculated on each iteration. power_limit = len(powers) - 1 while abs(number) >...
|
Oct. 28, 2015, 10:06 p.m. |
+ 1 |
for Comment
GWilczynski: Thank You very much
|
Oct. 26, 2015, 1:17 p.m. |
+ 1 |
for Comment
DaveDiFranco: On line 5 you access the first element of the array. You should check if the array is empty before d...
|
Oct. 5, 2015, 2:27 p.m. |
+ 1 |
for Comment
DiZ: For your issue, take a look at [BFS](https://en.wikipedia.org/wiki/Breadth-first_search) and [DFS](h...
|
Oct. 3, 2015, 6:44 a.m. |
+ 1 |
for Comment
DiZ: It's a "podium". If your solution receives good reviews by other players, it will gain visibility an...
|
Oct. 2, 2015, 4:08 p.m. |
+ 1 |
for Comment
DiZ: Now it should be alright.
|
Oct. 2, 2015, 4:08 p.m. |
+ 1 |
for Comment
Rodnee: @jmegner, @DiZ Thank you both.
|
Sept. 28, 2015, 6:18 p.m. |
+ 1 |
for Comment
DiZ: It wasn't my goal ^^' but I hope rodnee saw my answer (still don't understand how notifications work...
|
Sept. 28, 2015, 1:43 p.m. |
+ 1 |
for Comment
DiZ: From task description: > In some cases, if we cannot determine the order for several symbols, you sh...
|
Sept. 24, 2015, 8:39 p.m. |
+ 1 |
for Comment
Margaruga: Ups, I reseted the code and it's ok. Maybe I edited it wihout noticing. Thanks.
|
Sept. 21, 2015, 5:53 a.m. |
+ 1 |
for Comment
PyPoet: That's a neat solution for checking 2 consequent letters.
|
Aug. 31, 2015, 2:44 p.m. |
+ 1 |
for Comment
Leonix: `words` is a [set](https://docs.python.org/2/library/stdtypes.html#set-types-set-frozenset): a colle...
|
Aug. 31, 2015, 2:43 p.m. |
+ 1 |
for Comment
andrey.pashkin: Oh, yes :) Thanks for reply. I have not seen. But, the test is wrong because "two-dimensional square...
|
Aug. 31, 2015, 2:43 p.m. |
+ 1 |
for Comment
Leonix: [Square lattice](https://en.wikipedia.org/wiki/Square_lattice) is a mathematical term meaning that e...
|
Aug. 31, 2015, 2:43 p.m. |
+ 1 |
for Comment
Leonix: This is a 6x5 tuple. 6 rows and 5 columns.
|
Aug. 28, 2015, 2:10 p.m. |
+ 1 |
for Comment
oduvan: Please check Should work now
|
Aug. 28, 2015, 2:10 p.m. |
+ 1 |
for Comment
dunpealer: I experienced the same issue, preventing me from validating my solution to this task. After several ...
|
Aug. 28, 2015, 1:06 p.m. |
+ 1 |
for Comment
Leonix: [itertools.groupby](https://docs.python.org/2/library/itertools.html#itertools.groupby)? ["".join(ch...
|
Aug. 28, 2015, 1:03 p.m. |
+ 1 |
for Comment
benbou: Thanks
|
Aug. 28, 2015, 1:03 p.m. |
+ 1 |
for Comment
Leonix: `[1, 2, 3][-1] == 3`
|
Aug. 26, 2015, 3:46 p.m. |
+ 1 |
for Comment
Sim0000: See [FAQ](http://www.checkio.org/forum/post/3269/6-the-most-common-mistakes/) topic "Iterate and rem...
|
Aug. 25, 2015, 4:01 p.m. |
+ 1 |
for Comment
jtokaz: Thanks for the problem. The statement is clear. One liner for solution. The statement "Notice: The n...
|
Aug. 25, 2015, 4:01 p.m. |
+ 1 |
for Comment
Pumba_UA: Thanks for your feedback... 1. First, I think that it has to be a Golf Code task, later on changed m...
|
Aug. 25, 2015, 3:44 p.m. |
+ 1 |
for Comment
Pumba_UA: My advice for the topic starter is to run his code in [Visualize Python Tool](http://www.pythontutor...
|
Aug. 23, 2015, 6:07 p.m. |
+ 1 |
for Comment
abdo3bido: Thanks jmenger, finally got it
|
Aug. 22, 2015, 1:31 a.m. |
+ 1 |
for Comment
cfocheckio: Thanks! I used .lower() and it worked like a charm...
|
Aug. 21, 2015, 12:50 p.m. |
+ 1 |
for Comment
Sim0000: You can make it more simple with **key** parameter of **max** :-) def checkio(text): return max('abc...
|
Aug. 21, 2015, 12:49 p.m. |
+ 1 |
for Post
ErrUchIsDown in poker-dice
|
Aug. 20, 2015, 3:24 p.m. |
+ 1 |
for Comment
Sim0000: Thank you.
|
Aug. 20, 2015, 3:11 p.m. |
+ 1 |
for Comment
Sim0000: Your code returns 'VIIII' when checkio(9). Of course right result is 'IX'. And checkio(4) returns 'I...
|
Aug. 20, 2015, 3:04 p.m. |
+ 1 |
for Comment
Sim0000: Paste your code here.
|
Aug. 20, 2015, 1:44 p.m. |
+ 1 |
for Comment
polettix: Yes, I assumed that was the way to go and it was indeed. I just thought that the "essay" should incl...
|
Aug. 20, 2015, 3:49 a.m. |
+ 1 |
for Post
What does "unsanitized input" mean?
|
Aug. 20, 2015, 3:49 a.m. |
+ 1 |
for Comment
polettix: D'oh, using the square radius for doing the test is brilliantly obvious.
|
Aug. 19, 2015, 9:05 p.m. |
+ 1 |
for Comment
SamSchurter: Thank you, that's fixed it
|
Aug. 19, 2015, 5:05 p.m. |
+ 1 |
for Comment
MichalMarsalek: Yes it is, I know that now, shouldn't it then be fixed to show "a_factaral(0)"?
|
Aug. 18, 2015, 6:46 p.m. |
+ 1 |
for Comment
johnhaines: Hint: find(word) is looking to match a string of characters. Is it going to match "how" with "How" ?
|
Aug. 18, 2015, 3:53 a.m. |
+ 1 |
for Comment
valentin.hirschi: @ pohmelie: I Just noticed that in your screenshot, your first place score is 265 points, which I as...
|
Aug. 17, 2015, 8:58 p.m. |
+ 1 |
for Comment
apachea: Thank you!)
|
Aug. 17, 2015, 3:13 p.m. |
+ 1 |
for Comment
RaMon: Sry, it seems like i can't upload an attachment. Here a link to my code : http://pastebin.com/M8SDrP...
|
Aug. 15, 2015, 8:37 p.m. |
+ 1 |
for Comment
Sim0000: Your code have a problem. Global variable **m** cause bad results. See [FAQ](http://www.checkio.org/...
|
Aug. 15, 2015, 8:36 p.m. |
+ 1 |
for Comment
Sim0000: I try your code on my local PC. Your code fall in infinite loop at extra test 5. input : ({'melter',...
|
Aug. 14, 2015, 7:07 p.m. |
+ 1 |
for Comment
righiy90: thank you man, i'm done it
|
Aug. 14, 2015, 4:24 p.m. |
+ 1 |
for Comment
alelima.fisica: @resilience, thanks a lot for the cristal clear explanation. I will try to do the inverse. That is, ...
|
Aug. 14, 2015, 5:34 a.m. |
+ 1 |
for Comment
resilience: Thank you! I liked how your solution "flipped" the columns and diagonals into the same 3-element lis...
|
Aug. 14, 2015, 4:36 a.m. |
+ 1 |
for Comment
jtokaz: Some small changes to your code. You can return a false value (None or empty string) from your Winne...
|
Aug. 14, 2015, 4:22 a.m. |
+ 1 |
for Post
How to refactor to not use cascading returns?
|
Aug. 14, 2015, 12:39 a.m. |
+ 1 |
for Comment
dunpealer: Thanks! I'm new to the site, and never noticed the right-hand box.
|
Aug. 13, 2015, 6:32 p.m. |
+ 1 |
for Comment
thzpcs: I honestly don't really know what that is. It's calling a function from within itself, correct?
|
Aug. 13, 2015, 4:25 p.m. |
+ 1 |
for Comment
thzpcs: Then I'm really not sure how to approach this. I don't really know how to get it to continue checkin...
|
Aug. 11, 2015, 11:35 a.m. |
+ 1 |
for Comment
luciefel: I misunderstood the description to this task, thanks for explanation!
|
Aug. 10, 2015, 7:14 p.m. |
+ 1 |
for Comment
suic: Hi, let me make some comments: 1. The primary purpose of CheckiO isn't to teach you how to code. It'...
|
Aug. 8, 2015, 6:24 p.m. |
+ 1 |
for Post
Better tests for bad triangles
|
Aug. 8, 2015, 8:32 a.m. |
+ 1 |
for Comment
niranjanr: Great, thanks! Managed to fix it by removing the for loop (which was completely unnecessary in hinds...
|
Aug. 7, 2015, 5:52 p.m. |
+ 1 |
for Comment
blackandtan: Oh ok, thank you
|
Aug. 7, 2015, 5:52 p.m. |
+ 1 |
for Comment
aslanseyes: You're exactly right; wow, I can't believe I didn't see that. Thanks for taking the time to check it...
|
Aug. 7, 2015, 3:02 a.m. |
+ 5 |
for
UserDict-gyahun_dash
|
Aug. 6, 2015, 5:11 p.m. |
+ 1 |
for Comment
veky: People who use Twitter probably find it trivial. It's `@` (monkey, also known as matrix multiplicati...
|
Aug. 4, 2015, 8:57 p.m. |
+ 1 |
for Comment
bryukh: NEIGHBORS is an array with "shifts". Use them at the cell coordinates and you will get all neighbour...
|
Aug. 4, 2015, 2:56 p.m. |
+ 1 |
for Comment
veky: Your intuition is basically correct: you need to iterate through the text (with `i` in your case). B...
|
Aug. 4, 2015, 1:26 a.m. |
+ 1 |
for Comment
hrvoje: If I finally make myself organize them properly, a Github repo might be a good solution. Most of my ...
|
Aug. 3, 2015, 10:40 p.m. |
+ 1 |
for Comment
hrvoje: Great advice, this will certainly speed up the process. Thanks a lot! ;)
|
Aug. 3, 2015, 5:04 p.m. |
+ 1 |
for Post
More tests
|
Aug. 3, 2015, 3:02 p.m. |
+ 1 |
for Comment
zubovm: The main problem, as I understand, that the problem description is not fully complete: what directio...
|
Aug. 3, 2015, 2:58 p.m. |
+ 1 |
for Comment
bryukh: It's not too much, but all devs are busy with EoC. If you need I can download and send it to you. Yo...
|
Aug. 3, 2015, 2:58 p.m. |
+ 1 |
for Comment
hrvoje: No need to waste time if it's just me, I'll simply copy paste - it won't take long! :-)
|
Aug. 3, 2015, 12:58 a.m. |
+ 1 |
for Post
Feature request: download all solutions zipped
|
Aug. 1, 2015, 1:38 a.m. |
+ 1 |
for Comment
veky: .isupper is not a property, but a method: if ch.isupper(): (and please don't write `== True` in such...
|
Aug. 1, 2015, 1:37 a.m. |
+ 1 |
for Comment
SpencerMohr: Thank you very much!
|
Aug. 1, 2015, 1:37 a.m. |
+ 1 |
for Comment
jtokaz: First, publish some of your solutions and request code reviews in the forum. If your Python knowledg...
|
July 30, 2015, 2 p.m. |
+ 1 |
for Comment
bryukh: Hi. Thanks and added. You always can create a pull request in Github for all CiO missions.
|
July 30, 2015, 2 p.m. |
+ 1 |
for Comment
Pumba_UA: Yes, I did it you can check my pull request https://github.com/Bryukh-Checkio-Tasks/checkio-task-ske...
|
July 30, 2015, 2 p.m. |
+ 1 |
for Comment
bryukh: Hm. I was in vacation the last week. I was looking all pull requests yesterday and looks like I miss...
|
July 29, 2015, 1:43 a.m. |
+ 1 |
for Comment
forfun: Thank you!:) It works (or course, it works) and now i'm already on the second level.))
|
July 28, 2015, 11:35 p.m. |
+ 1 |
for Comment
jtokaz: You are on the right track, but the function checkio should return the string 'Fizz', Buzz', etc. Ch...
|
July 27, 2015, 7:03 p.m. |
+ 1 |
for Comment
tommycarstensen: @Vachenzo Any news on this?
|
July 27, 2015, 7:03 p.m. |
+ 1 |
for Comment
OMFGNuts: Unfortunately no news on this, but we're working on something else that you'll 100% like!
|
July 27, 2015, 7:02 p.m. |
+ 1 |
for Comment
Vachenzo: Not yet, but we are working on that functionality.
|
July 8, 2015, 3:54 a.m. |
+ 4 |
for
Commented Suurballe-nicuveo
|
July 2, 2015, 11:44 p.m. |
+ 1 |
for
First-AlexanderSafronov
|
July 2, 2015, 11:44 p.m. |
+ 1 |
for
First-dagger126
|
July 2, 2015, 11:44 p.m. |
+ 1 |
for
First-Sim0000
|
June 19, 2015, 4:58 a.m. |
+ 1 |
for
First-nastyajeid
|
June 19, 2015, 4:57 a.m. |
+ 1 |
for
First-masero
|
June 19, 2015, 4:54 a.m. |
+ 1 |
for
First-dEUS
|
June 19, 2015, 3:43 a.m. |
+ 1 |
for
First-ratkins7
|
June 19, 2015, 3:41 a.m. |
+ 1 |
for
First-slash
|
June 19, 2015, 3:41 a.m. |
+ 1 |
for
First-Q-Bart
|