June 5, 2022, 6:29 a.m. |
+ 1 |
for Comment
H0r4c3: Great solution, clear explanations!
|
April 5, 2022, 7:33 p.m. |
+ 1 |
for Comment
Phil15: To be clear, "reconnect" only meant "proof of life" to me, a month of absence had me worried. Educat...
|
Sept. 3, 2021, 5:02 a.m. |
+ 1 |
for Comment
Oleg_Levonjuk: Lol, clever, why waste your time, if there is sympy. I solved this in much the same way. 8-) +5
|
Feb. 26, 2021, 1:48 p.m. |
+ 1 |
for Comment
kurosawa4434: Wow ... I am very surprised and very proud of the addition of the badges :-D Thank you so much ! One...
|
Jan. 9, 2021, 6:49 a.m. |
+ 1 |
for Comment
juestr: First I thought this would be just another DP problem, but then I easily constructed a counter examp...
|
Dec. 17, 2020, 6:36 a.m. |
+ 1 |
for Comment
Phil15: I'm gonna try to explain the mission with other words. You have a rectangle and a list of circles, a...
|
July 29, 2020, 6:11 p.m. |
+ 1 |
for Comment
joseke: While I do not fully understand the logic, anyone can clearly see how elegant this solution is. I pa...
|
July 19, 2020, 6:57 a.m. |
+ 1 |
for Comment
Phil15: About _slow_, look my solution in speedy category if you're _curious_.
|
June 26, 2020, 4:38 a.m. |
+ 1 |
for Comment
cl0ne: I don't get why in extra test #5 (`[1200, 2000, 400], [0, 0, -600, -200]`) after first collision vel...
|
April 2, 2020, 12:23 p.m. |
+ 1 |
for Comment
undead2k: Sorry for reviving an old thread, just trying to understand what is going on with **first_word_2** e...
|
March 29, 2020, 7:46 a.m. |
+ 1 |
for Comment
adogadkin: 1. They surely do, never said they don't :) 2. set(iterable) (or comprehension in this case) takes O...
|
March 28, 2020, 6:53 p.m. |
+ 1 |
for Comment
NickJepson: Excellent simple solution - one liners are best for efficiency but watch for clarity
|
March 23, 2020, 6:29 a.m. |
+ 1 |
for Comment
tom-tom_f993b3abc4814d4cb5476e: I've noticed that ;) Do you mean "selected blog pages only, by design"?
|
March 2, 2020, 2:22 p.m. |
+ 1 |
for Comment
tom-tom_f993b3abc4814d4cb5476e: In math it's True (see [Vacuous truth](https://en.wikipedia.org/wiki/Vacuous_truth)). So, every char...
|
March 2, 2020, 6:35 a.m. |
+ 1 |
for Comment
Phil15: Simple enough but I enjoyed it, much more than the two basic missions you published earlier today. N...
|
March 2, 2020, 6:33 a.m. |
+ 1 |
for Comment
przemyslaw.daniel: >>> backward_string_by_word(' abc 123') 'cba 321 '
|
Dec. 5, 2019, 3:14 p.m. |
+ 1 |
for Comment
tom-tom_f993b3abc4814d4cb5476e: Depending on the circumstances, these graphs can be considered the same: A A / \ / \ / \ / \ B C C B...
|
Dec. 3, 2019, 12:49 p.m. |
+ 1 |
for Comment
kurosawa4434: Thanks ! This is the awesome mission. I can't solve it with my math :-D
|
Dec. 3, 2019, 11:01 a.m. |
+ 1 |
for Comment
kurosawa4434: To @quarkov I improved the above visualization. And send pull-request.
|
Dec. 1, 2019, 4:33 p.m. |
+ 1 |
for Comment
veky: Well, I'm just trying to show people that Python lists and dicts are not really arrays and hash-tabl...
|
Dec. 1, 2019, 4:31 p.m. |
+ 1 |
for Comment
tom-tom_f993b3abc4814d4cb5476e: Hi! Good mission! I guess the example pictures have inaccuracies:
|
Nov. 30, 2019, 5:25 p.m. |
+ 1 |
for Comment
veky: a = [] a.append(a) is this a tree? Why not? :-)
|
Nov. 30, 2019, 8:14 a.m. |
+ 1 |
for Comment
Sim0000: Thanks for nice mission. I found some mistake in initial code. There are some tuples in 6th example....
|
Nov. 30, 2019, 7:37 a.m. |
+ 1 |
for Comment
kurosawa4434: Hi @oduvan @quarkov I added the mission icon files Please check it. https://github.com/kurosawa4434/...
|
Nov. 29, 2019, 1:43 p.m. |
+ 1 |
for Comment
Phil15: You're welcome @kurosawa4434 Yeah it's pretty basic but my puzzle challenges are quite hard: only a ...
|
Nov. 25, 2019, 8:20 p.m. |
+ 1 |
for Comment
kurosawa4434: one more test: { "input": [[[0, 0], [12, 77], [24, 149], [36, 212], [48, 259], [60, 289], [72, 300],...
|
Nov. 25, 2019, 8:14 a.m. |
+ 1 |
for Comment
tom-tom_f993b3abc4814d4cb5476e: Well, it can be: * list of lists * special element as a contour separator * initial point as the con...
|
Nov. 25, 2019, 8:14 a.m. |
+ 1 |
for Comment
tom-tom_f993b3abc4814d4cb5476e: Initial data describe a self-intersecting polygon: `[(2, 3), (3, 8), (8, 7), (9, 2), (3, 2), (4, 4),...
|
Nov. 24, 2019, 2:43 p.m. |
+ 1 |
for Comment
kurosawa4434: I noticed the following mission description. `All given coordinates are integers.` But random tests ...
|
Nov. 24, 2019, 7:35 a.m. |
+ 1 |
for Comment
kurosawa4434: I tried to modify the design to display coordinates for only four corners. * Black: if existing poin...
|
Nov. 24, 2019, 7:35 a.m. |
+ 1 |
for Comment
kurosawa4434: I sent a pull-request for the above improvements.
|
Nov. 24, 2019, 7:34 a.m. |
+ 1 |
for Comment
kurosawa4434: My visualization code expects a list of four coordinates for each 'explanation' in TESTS. (Clockwise...
|
Nov. 23, 2019, 8:49 p.m. |
+ 1 |
for Comment
Phil15: @quarkov Great, remains the PR to be merged.
|
Nov. 23, 2019, 8:38 a.m. |
+ 1 |
for Comment
Phil15: To be honest, I did not read the task description entirely. Maybe I was scared by the big text just ...
|
Nov. 23, 2019, 8:37 a.m. |
+ 1 |
for Comment
kurosawa4434: I have almost completed the visualization code. Does the specification of the input value change? I ...
|
Nov. 23, 2019, 5:55 a.m. |
+ 1 |
for Comment
Phil15: I think it describe a hole in it.
|
Nov. 22, 2019, 12:49 p.m. |
+ 1 |
for Comment
Phil15: Interesting mission! I thought I did it wrong but I have 11600.503 too, which is better than 11900.0...
|
Nov. 22, 2019, 9:45 a.m. |
+ 1 |
for Comment
kurosawa4434: Thanks :) But 'NoExecFunction' And my answer is: Extra 2: 11600.503 Extra 3: 27.000 Others passed. W...
|
Nov. 22, 2019, 7:14 a.m. |
+ 1 |
for Comment
kurosawa4434: I found the 'Check's WORDS defined as a set. https://github.com/CheckiO-Missions/checkio-mission-cro...
|
Nov. 22, 2019, 5:46 a.m. |
+ 1 |
for Comment
kurosawa4434: Hi @quarkov Thank you for the new mission :) Maybe you forgot to sync? And the following is a typo (...
|
Nov. 14, 2019, 11:02 a.m. |
+ 1 |
for Comment
PythonWithPI: Is there a way I can find the next mission in a series? Looking around all the islands isn't very ef...
|
Nov. 14, 2019, 11:02 a.m. |
+ 1 |
for Comment
Tinus_Trotyl: Hi, if you make a serie of missions which have to be solved in a particular order, I think it will b...
|
Nov. 12, 2019, 7:59 p.m. |
+ 1 |
for Comment
kurosawa4434: @quarkov I send a pull-request for animation. Please check it.
|
Nov. 12, 2019, 3:27 p.m. |
+ 1 |
for Comment
veky: That just means it needs more tests, not that it should return some not-quite-relevant info. I love ...
|
Nov. 11, 2019, 7:02 p.m. |
+ 1 |
for Comment
kurosawa4434: Thank you for a very interesting mission :-) Fortunately my redundant solution passed the check. I w...
|
Nov. 11, 2019, 3:05 p.m. |
+ 1 |
for Comment
veky: It would be a much more interesting task if the fly _didn't_ lose energy in collisions. }:‑)
|
Sept. 19, 2019, 6:33 a.m. |
+ 1 |
for Comment
nakanohito_piyo: Great, it is really easy to deal arrays with numpy.
|
June 14, 2019, 5:38 a.m. |
+ 1 |
for Comment
veky: The link isn't necessarily for you. :-)
|
June 13, 2019, 4:14 a.m. |
+ 1 |
for Comment
veky: Obligatory Youtube link: https://www.youtube.com/watch?v=o9pEzgHorH0 :-)
|
June 10, 2019, 7:04 a.m. |
+ 1 |
for Comment
rodka81: You can find an explanation here: http://mathworld.wolfram.com/Dice.html
|
June 9, 2019, 9:10 a.m. |
+ 1 |
for Comment
oduvan: fixed, sorry for missing a post. It is in random review now and leaderboard will be opened in 2 days
|
June 8, 2019, 12:55 p.m. |
+ 1 |
for Comment
Tical_1000: Beautiful. I haven’t seen the filter function used for quite some time. Very nice implementation.
|
May 14, 2019, 8:39 a.m. |
+ 1 |
for Comment
kurosawa4434: nice mission :-) I think that visualization is effective for this mission. Please check pull-request...
|
April 25, 2019, 2:15 p.m. |
+ 1 |
for Comment
Oksana_Antropova: Yeah, that's true too! I just did it so, because, while solving, I thought how to find where exactly...
|
April 25, 2019, 11:16 a.m. |
+ 1 |
for Comment
Phil15: Yes it's your code # This works response = text_formatting(a, 38, 'l') assert response == answer # T...
|
April 24, 2019, 7:06 a.m. |
+ 1 |
for Comment
przemyslaw.daniel: I've just come across a problem with comparing two json files. It seems to be a good idea for a miss...
|
April 24, 2019, 5:32 a.m. |
+ 1 |
for Comment
Ilis: But this two from one station.
|
April 23, 2019, 4:17 p.m. |
+ 1 |
for Comment
przemyslaw.daniel: It is O(n). Obviously it's slower due to fact it uses recurrence. For fast solution we have speedy c...
|
April 23, 2019, 1:17 p.m. |
+ 1 |
for Comment
Oksana_Antropova: That's a really cool solution! Mine had the same logic behind, but is implemented with simple `for`,...
|
April 23, 2019, 12:26 p.m. |
+ 1 |
for Comment
cglacet: Why would you avoid `if`, avoid `str` first :p
|
April 23, 2019, 12:26 p.m. |
+ 1 |
for Comment
Oksana_Antropova: A resourceful one too!
|
April 22, 2019, 3:55 p.m. |
+ 1 |
for Comment
Phil15: Yeah, I think it would be great that difficulty level would be updated when enough people tried to s...
|
April 12, 2019, 8:07 a.m. |
+ 1 |
for Comment
Oksana_Antropova: In my opinion, it would be better to use search instead of findall and capturing group: search(f"\{a...
|
April 11, 2019, 7:13 a.m. |
+ 1 |
for Comment
Oksana_Antropova: Well done!
|
April 11, 2019, 5:03 a.m. |
+ 1 |
for Comment
juestr: Nice, I felt changing the const arrays was cheating, but it really makes it much simpler so why not.
|
April 3, 2019, 3:28 p.m. |
+ 1 |
for Comment
Sim0000: I have a question. Can I assume input data is sorted?
|
April 3, 2019, 10:01 a.m. |
+ 1 |
for Comment
veky: About the list of functions: sorry, I wasn't clear enough. That link was just meant to show that Pyt...
|
April 1, 2019, 6:43 p.m. |
+ 1 |
for Comment
veky: I think it's insightful that you did write your huge essay in code (comments). That makes it a valid...
|
March 27, 2019, 3:59 p.m. |
+ 1 |
for Comment
Phil15: I started timeit random tests before I see you already did it. But I test the current ten published ...
|
March 25, 2019, 7:22 p.m. |
+ 1 |
for Comment
Phil15: For info, `next_enemy[int(not i)]` and `next_enemy[not i]` are equivalent. We have list[True] == lis...
|
March 24, 2019, 6:18 a.m. |
+ 1 |
for Comment
PythonWithPI: [Redox: A Unix-like operating system implemented in Rust.](https://redox-os.org/)
|
March 15, 2019, 2:11 p.m. |
+ 1 |
for Comment
7nat7: Nice, did'nt know about f-strings before.
|
March 10, 2019, 6:15 p.m. |
+ 1 |
for Comment
Sim0000: OMG, C ghost is bad to me :-)
|
March 8, 2019, 6:20 p.m. |
+ 1 |
for Comment
JimmyCarlos: Perfect use of ReGex! This is almost a perfect task for ReGex.
|
March 6, 2019, 8:15 p.m. |
+ 1 |
for Comment
Sim0000: Python 3.7 has been released. It seems good to have a mission to introduce new features added in Pyt...
|
March 4, 2019, 11:50 a.m. |
+ 1 |
for Comment
kurosawa4434: I agree that there are several missions don't show the appropriate difficulty level. The difficulty ...
|
March 4, 2019, 11:50 a.m. |
+ 1 |
for Comment
oduvan: The issue here, is that user, after reading a hard mission don't make an attempt to solve it.
|
March 4, 2019, 10:48 a.m. |
+ 1 |
for Comment
Vladimir_Marunin: There are a lot of "old solvers" with 15+ level who already solved almost every task on checkio. Whe...
|
March 4, 2019, 10:45 a.m. |
+ 1 |
for Comment
swagg010164: I gave the time limit as an example. My question was related to how difficulty levels are set in tas...
|
Feb. 25, 2019, 4:35 p.m. |
+ 1 |
for Comment
oduvan: жаль, что Сиель японец :)
|
Feb. 21, 2019, 7:14 p.m. |
+ 1 |
for Comment
przemyslaw.daniel: This is the right and beautiful way to solve it. Just lunch code below to see the difference. Maximu...
|
Feb. 20, 2019, 4:24 p.m. |
+ 1 |
for Comment
kurosawa4434: It's the difference between 'Class variables' and 'Instance variables'. 'Class variables' are shared...
|
Feb. 20, 2019, 2:18 p.m. |
+ 1 |
for Comment
kurosawa4434: What about the intersection of a different brackets? remove_brackets('([)]') == '()' or remove_brack...
|
Feb. 16, 2019, 12:21 p.m. |
+ 1 |
for Comment
veky: Not any quote of mine among these 5? :-D :-P
|
Dec. 20, 2018, 2:08 p.m. |
+ 1 |
for Comment
chchun: str(array) is good method!!! I solved only recursive approach. but this approach is very simple.
|
Dec. 19, 2018, 9:14 a.m. |
+ 1 |
for Comment
Joeri: I needed to write it down with an example to see what it is you're comparing, but then I got it. You...
|
Dec. 6, 2018, 6:22 p.m. |
+ 1 |
for Comment
wcass77: Note that popping from a list and adding it to the front like this is very inefficient. The entire l...
|
Nov. 30, 2018, 9:49 p.m. |
+ 1 |
for Comment
JohanL: Consider using a Python dict rather than the two tuples for the roman and arab numbers. That is a mo...
|
Nov. 19, 2018, 7:02 a.m. |
+ 1 |
for Comment
chchun: fastest_horse([['1:10', '1:15', '1:02'], ['1:15', '1:15', '1:15'], ["2:59", "2:59", "2:59"]]) == 3 i...
|
Oct. 15, 2018, 7:05 p.m. |
+ 1 |
for Comment
Merzix: No need create empty set `extra = set()` because you did not use it next. Just `extra = False`. Also...
|
Sept. 26, 2018, 1:11 p.m. |
+ 1 |
for Comment
oduvan: the discussions didn't go nowhere https://py.checkio.org/forum/post/12583/meaningful-missions/#comme...
|
Sept. 26, 2018, 1:11 p.m. |
+ 1 |
for Comment
suic: tl;dr (feel free to skip to the last paragraph) ____ This is my answer to your comment below about "...
|
Sept. 26, 2018, 9:04 a.m. |
+ 1 |
for Comment
swhcz: I suspected there would be a mathematical solution to this, nice to see this implemented!!
|
Sept. 23, 2018, 12:29 p.m. |
+ 1 |
for Comment
suic: > I think you should not be so severely to people who try to make Checkio better @veky and others (i...
|
Sept. 23, 2018, 12:02 p.m. |
+ 1 |
for Comment
V.Shkaberda: What is the main purpose of these tasks? I mean all tasks on this site. I believe it's an education....
|
Sept. 23, 2018, 11:59 a.m. |
+ 1 |
for Comment
veky: Ok, this is just wrong. You take a mission, which I have solved a long time ago, and now make two mi...
|
Sept. 23, 2018, 11:58 a.m. |
+ 1 |
for Comment
veky: Or simply class State: pass Python doesn't care much. :-P Of course, if you intend to define an inte...
|
Sept. 23, 2018, 9:16 a.m. |
+ 1 |
for Comment
Merzix: I think the problem is not in you. The problem is, as veky wrote [here](https://py.checkio.org/missi...
|
Sept. 23, 2018, 8:47 a.m. |
+ 1 |
for Comment
Phil15: **1** If you want to write range(len(thing)) you probably should use enumerate(thing). m_rotated = [...
|
Sept. 23, 2018, 8:26 a.m. |
+ 1 |
for Comment
Phil15: Why a while loop here? Instead of for amount in range(3, len(numbers)+1) The flag thing... flag = al...
|