May 11, 2024, 6:51 p.m. |
+ 1 |
for Comment
przemyslaw.daniel: no idea, probably the author was drunk ;-)
|
May 10, 2024, 12:24 p.m. |
+ 1 |
for Comment
zeixes: Sorry, man i was wrong in my comment, because i didn't test your soluthion properly.
|
May 9, 2024, 3:32 p.m. |
+ 1 |
for Comment
freeman_lex: I can't figure out whether your comment is criticism or praise? 😉
|
May 9, 2024, 3:22 p.m. |
+ 1 |
for Comment
freeman_lex: Yes, I've changed the first test for Check Solution (`{5: {}, 0: {}}`) to be the same as in editor (...
|
May 8, 2024, noon |
+ 1 |
for Comment
veky: Those two pops are endearing! :)
|
April 25, 2024, 10:34 p.m. |
+ 1 |
for Comment
dan_rue: Very nice! Thanks for reminding me that map can take more than one iterable.
|
April 20, 2024, 9:27 p.m. |
+ 1 |
for Comment
freeman_lex: The first two case are not valid since > Given two frogs frog1, frog2, that initially stand on **dif...
|
April 15, 2024, 3:28 p.m. |
+ 1 |
for Comment
oduvan: Yes, this is a bug. Thank you.
|
April 8, 2024, 7:39 p.m. |
+ 1 |
for Comment
Phil15: I had the same problem 2 or 3 times overall and would have appreciated a way to search comments too.
|
April 6, 2024, 6:41 p.m. |
+ 1 |
for Comment
oduvan: the issue with awesome users. We will fix that, sorry
|
April 6, 2024, 1:17 p.m. |
+ 1 |
for Comment
freeman_lex: What is "anywhere"?) A new mission is always placed at Polygon station first. Later, after necessary...
|
April 6, 2024, 9:24 a.m. |
+ 1 |
for Comment
amandel: Bad use of boolean. If **B** is a boolean expression, then **True if B else False** has the same val...
|
April 6, 2024, 6:37 a.m. |
+ 1 |
for Comment
veky: I just meant many places on the Internet where Python basics are introduced. Yes, I know about that ...
|
April 5, 2024, 9:28 p.m. |
+ 1 |
for Comment
veky: Well, the whole of my argument (including `batched`) relied on `zip` being just a nicer way of writi...
|
April 5, 2024, 3:34 p.m. |
+ 1 |
for Comment
veky: Yes, but in an althist in which PEP479 is rejected, I would write a generator of all "end - start"s,...
|
April 5, 2024, 5:46 a.m. |
+ 1 |
for Comment
veky: I think the main reason is the classification. It's too hard for Elementary.
|
April 3, 2024, 4:14 p.m. |
+ 1 |
for Comment
Phil15: Not always. Most code should be self-explanatory. And comments can be less clear or less updated tha...
|
March 30, 2024, 8:04 p.m. |
+ 1 |
for Comment
Olpag: It all depends on the situation The "try_except" will be faster if the border does exist, but will b...
|
March 30, 2024, 8:04 p.m. |
+ 1 |
for Comment
Olpag: > Too slow Are you sure about this? First, it would be nice to read the [my comment above](https://p...
|
March 30, 2024, 7:45 a.m. |
+ 1 |
for Comment
veky: Ok, now I see what you meant, but still, moduli are too small for CRT to actually be needed. It's as...
|
March 30, 2024, 6:39 a.m. |
+ 1 |
for Comment
veky: Well, I meant both. Test cases falsifying lots of solutions aren't hard to find, if you know where t...
|
March 29, 2024, 9:06 p.m. |
+ 1 |
for Comment
veky: Yeah, I should have written it `n > n%6 == 4`then it would be obvious to you 😛
|
March 29, 2024, 5:44 p.m. |
+ 1 |
for Comment
freeman_lex: Yes, that's better, fixed.
|
March 29, 2024, 5:43 p.m. |
+ 1 |
for Comment
freeman_lex: Backticks are actually used for `inline code` in comments only?( @oduvan
|
March 29, 2024, 5:43 p.m. |
+ 1 |
for Comment
freeman_lex: Thanks, made chsnges and run recheck.
|
March 29, 2024, 2:01 a.m. |
+ 1 |
for Comment
veky: Yeah, but I worried that there would be a rush of hundreds of people to answer, and I wanted to be f...
|
March 29, 2024, 12:30 a.m. |
+ 1 |
for Comment
amandel: Longest common prefix of the elements of the list.
|
March 28, 2024, 11:35 p.m. |
+ 1 |
for Comment
freeman_lex: I make some changes to the description, please check. Also, @StefanPochmann
|
March 28, 2024, 7:45 p.m. |
+ 1 |
for Comment
freeman_lex: Yes. I add this test.
|
March 28, 2024, 1:45 p.m. |
+ 1 |
for Comment
veky: Yes, sure. Next time I have an old humongous haystack, I know whom to ask for a favor. :-D
|
March 28, 2024, 9:37 a.m. |
+ 1 |
for Comment
freeman_lex: Found 2 incorrect scripts. I deleted those solutions and write a short message to authors that the s...
|
March 27, 2024, 10:16 p.m. |
+ 1 |
for Comment
juestr: I messed this up by too much bike shedding in my "Second" already, and frankly I don't think this is...
|
March 27, 2024, 9:51 p.m. |
+ 1 |
for Comment
veky: Well, "output parameters" are not new; back in the days when people built their own houses, sewn the...
|
March 27, 2024, 8:42 p.m. |
+ 1 |
for Comment
freeman_lex: I add 10 randomly generated tests with `n` in 30->100 and k in 1->n and run solutions recheck.
|
March 27, 2024, 2:48 a.m. |
+ 1 |
for Comment
veky: Thanks @StefanPochmann (do you ever sleep)?
|
March 27, 2024, 2:33 a.m. |
+ 1 |
for Comment
veky: [This title](https://py.checkio.org/mission/checking-perfect-power/publications/veky/python-3/cloud-...
|
March 26, 2024, 2:14 p.m. |
+ 1 |
for Comment
veky: Ah yes. I guess it is stupid^TM, but it brings money to CiO. :-/ You can call that whole style `Pyth...
|
March 26, 2024, 1:42 p.m. |
+ 1 |
for Comment
veky: Yeah, I know about that kink of yours. :-p You might like [this](https://py.checkio.org/mission/sequ...
|
March 26, 2024, 1:26 p.m. |
+ 1 |
for Comment
tamagoyaki: surely. I didn't notice that anti-pattern, thank you. It would be fine if it was just a product prob...
|
March 26, 2024, 2:33 a.m. |
+ 1 |
for Comment
Phil15: (It does not magically solve the mission, but I used four functions from itertools.) [spoiler] - get...
|
March 26, 2024, 1:36 a.m. |
+ 1 |
for Comment
tokiojapan55: The logic expresses 'k' as the sum of prime factor combinations and searches in DFS to see if it can...
|
March 25, 2024, 6:06 p.m. |
+ 1 |
for Comment
tokiojapan55: Thanks for continuing to test. There was a bug, so I fixed it and sheared a third version.
|
March 25, 2024, 12:32 a.m. |
+ 1 |
for Comment
tamagoyaki: Thank you Stefan! I've fixed that code. def postfix_evaluate(items: list[Union[int, str]]) -> int: w...
|
March 23, 2024, 8:35 p.m. |
+ 1 |
for Comment
Kolia951: I'm sorry, is that a "Clear" solution? =) Looks like I need to read PEP-8 once again...
|
March 22, 2024, 2:51 p.m. |
+ 1 |
for Comment
veky: Someone's got a new toy... and it's a hammer :-D
|
March 21, 2024, 4:47 p.m. |
+ 1 |
for Comment
veky: Hahaha, this one's good! Shows that match can not only unpack, but also pack things :) BTW in Coq it...
|
March 20, 2024, 9:19 p.m. |
+ 1 |
for Comment
juestr: Nice stack/slist. Any special reason you chose (tail, head) in the opposite order than customary?
|
March 7, 2024, 8:20 p.m. |
+ 1 |
for Comment
veky: And we _still_ can't use pathlib. Exactly 10 years have passed since the release of Py3.4, where it ...
|
Feb. 24, 2024, 3:56 a.m. |
+ 1 |
for Comment
freeman_lex: Thanks. Add a few tests and recheck all solutions.
|
Aug. 1, 2023, 2:31 p.m. |
+ 1 |
for Comment
cerankas: Brilliant, creative and educative! Made me learn how assignment to extended slices works :)
|
June 30, 2023, 4:55 p.m. |
+ 1 |
for Comment
freeman_lex: The missions in this series are blocked by previous - you cann't solve the next one without solving ...
|
May 9, 2023, 9:25 p.m. |
+ 1 |
for Comment
veky: I think you'll soon be eligible for a badge "used half of functions from itertools _in a single prog...
|
May 9, 2023, 3:22 a.m. |
+ 1 |
for Comment
veky: I also have the [lookup version](https://py.checkio.org/mission/rolling/publications/veky/python-3/a...
|
March 30, 2023, 10:54 a.m. |
+ 1 |
for Comment
veky: Hm, yeah, on the Net they are mostly right. I remember reading some books about it when I was a chil...
|
March 20, 2023, 5:52 p.m. |
+ 1 |
for Comment
veky: You sickos. Conjugate is an automorphism, you can't have parameters there. 😛 Complex round, yeah, I ...
|
March 20, 2023, 12:34 a.m. |
+ 1 |
for Comment
dig: Actually doing that is a kind of scale because you change the proportions of hexagonals. If you want...
|
March 18, 2023, 2:55 p.m. |
+ 1 |
for Comment
przemyslaw.daniel: A little bit of tweaking and a special case makes it faster (shifting instead of power). Anyway, you...
|
March 18, 2023, 2:16 p.m. |
+ 1 |
for Comment
veky: Ok, then this checkio(*a):=-operator.sub(*minmax(a)) is one char shorter, and works in Python 5.8, s...
|
March 18, 2023, 12:42 a.m. |
+ 1 |
for Comment
nickie: You're right. Two comments: 1. `:=` was introduced in Python 3.8. I guess you can rewrite many golfi...
|
Feb. 13, 2022, 1:43 a.m. |
+ 1 |
for Comment
Sim0000: I don't think there's any particular reason for it, and as you say, using SET is the right thing to ...
|
Feb. 10, 2022, 9:48 p.m. |
+ 1 |
for Comment
oduvan: The mission is in random-review mode. It will be shared in the coming newsletter. Usually, it is a c...
|
Feb. 5, 2022, 12:54 a.m. |
+ 1 |
for Comment
veky: Well, that was one of tests to see whether it is an imposter. :-D
|
Feb. 4, 2022, 3:31 p.m. |
+ 1 |
for Comment
Phil15: I get that it is blocked until enough people solved it. But 26 people solved it, and there are 29 so...
|
Feb. 4, 2022, 3:29 p.m. |
+ 1 |
for Comment
przemyslaw.daniel: any update on this issue?
|
Jan. 26, 2022, 12:15 a.m. |
+ 1 |
for Comment
CDG.Axel: Think it's standard way for new task. @oduvan, what have I to do for move this task to another categ...
|
Jan. 26, 2022, 12:15 a.m. |
+ 1 |
for Comment
Phil15: From the top of https://py.checkio.org/station/polygon/ > Here we place missions which are testing o...
|
Jan. 26, 2022, 12:15 a.m. |
+ 1 |
for Comment
Sim0000: From what I've seen so far, the missions placed on Polygon are often experimental and not official m...
|
Jan. 21, 2022, 4:10 a.m. |
+ 1 |
for Comment
oduvan: Ok, magic keyword have been used, that means I can't ignore the question. So I just open your accoun...
|
Jan. 2, 2022, 8:54 p.m. |
+ 1 |
for Comment
veky: The only funnier thing would be if this was published in the Speedy category. :-DD
|
Dec. 30, 2021, 1:55 p.m. |
+ 1 |
for Comment
Phil15: Yeah, month definition is a bit weird (7th to 4th for example). And delayed blocked access might be ...
|
Dec. 30, 2021, 11:51 a.m. |
+ 1 |
for Comment
Phil15: Solve recent missions that are mentioned at the end of the leaderboard page and get likes for your r...
|
Dec. 26, 2021, 10:58 a.m. |
+ 1 |
for Comment
oduvan: nono... I'm sure, he said. "Veky, you are the most important CheckiO user, and your feedback is the ...
|
Dec. 26, 2021, 10:57 a.m. |
+ 1 |
for Comment
veky: Well, there is a lot of hidden work. First I had to persuade @oduvan to update Python here (it was o...
|
Dec. 22, 2021, 11:24 a.m. |
+ 1 |
for Comment
veky: Yeah, it is obvious but thanks for writing it out anyway. :-) It just shows how half-solutions are s...
|
Dec. 21, 2021, 9:59 p.m. |
+ 1 |
for Comment
veky: It's fascinating that A changes type from first iteration into the following ones, and nobody bats a...
|
Dec. 11, 2021, 10:54 p.m. |
+ 1 |
for Comment
Phil15: Still think the second mission is not needed at all, but for fun I tried 10**9 again. To me, 100 bil...
|
Dec. 11, 2021, 8:16 a.m. |
+ 1 |
for Comment
veky: Yeah, today's youth probably understands 1M better. When I was young, a thousand was a big number. :...
|
Dec. 11, 2021, 8:10 a.m. |
+ 1 |
for Comment
oduvan: @Phil15 's missions are use a lot of test-generations https://github.com/Philippe-Cholet/checkio-mis...
|
Nov. 18, 2021, 3:35 p.m. |
+ 1 |
for Comment
veky: Yes, that's a nice bug. But anyway, it just piggybacks on Python's repurposing of negative indexes b...
|
Nov. 18, 2021, 12:41 a.m. |
+ 1 |
for Comment
Phil15: I read too quickly (meaning wrongly), solved it quickly anyway, then realized it was wrong. Currentl...
|
April 12, 2018, 3:06 p.m. |
+ 1 |
for Comment
oduvan: Now it should all be done.
|
April 7, 2018, 7:31 a.m. |
+ 1 |
for Comment
veky: Ah yes. I did think about something along the lines of selenium (to make you think "how the hell did...
|
March 26, 2018, 6 p.m. |
+ 1 |
for Comment
suic: This is not speedy. It's actually O(n^2).
|
March 26, 2018, 4:49 p.m. |
+ 1 |
for Comment
veky: Nice aggregator. :-)
|
March 26, 2018, 1 a.m. |
+ 1 |
for Comment
veky: `map(instructions.count, 'fblr')` would be even better. :-)
|
Nov. 23, 2017, 1:46 p.m. |
+ 1 |
for Comment
veky: Eh... thank heavens for newbies, they are so easily fascinated. :-D
|
Nov. 23, 2017, 1:46 p.m. |
+ 1 |
for Comment
Oddys: I wish I had more than 2 pluses to give!)
|
Nov. 22, 2017, 12:58 p.m. |
+ 1 |
for Comment
tom-tom_f993b3abc4814d4cb5476e: Please, test more than 2 occurrences of the second string: assert second_index('One dollar and eight...
|
Nov. 22, 2017, 11:22 a.m. |
+ 1 |
for Comment
przemyslaw.daniel: naughty boy :-)
|
Nov. 22, 2017, 11:04 a.m. |
+ 1 |
for Comment
tom-tom_f993b3abc4814d4cb5476e: The tests are really awful. In addition, the first strings in the test suit do not contain more than...
|
Nov. 18, 2017, 6:56 p.m. |
+ 1 |
for Comment
suic: Hi, if *correct* means that it passes all the tests then it's correct. The reason I find my solution...
|
Nov. 13, 2017, 9:50 a.m. |
+ 1 |
for Comment
Sim0000: test error of extra test 1? "input": ["Never send a human to do a machine's job.", "Never", "do"], "...
|
Sept. 26, 2017, 8:25 a.m. |
+ 1 |
for Comment
veky: I was pointing to a difference in character, not in purpose. :-) --- Sockpuppet? Strangely, that nev...
|
Sept. 25, 2017, 2:19 a.m. |
+ 1 |
for Comment
veky: I think you forgot to include other _categories_. If I see right, in many missions, only solutions f...
|
Sept. 23, 2017, 10:11 a.m. |
+ 1 |
for Comment
veky: While we're speaking about them... All my smartphones are broken. :-/ :-D --- P.S. Stefan, correct t...
|
Sept. 22, 2017, 6:58 p.m. |
+ 1 |
for Comment
veky: ... and demons will fly out of my nose if args is an empty list, too. Simply because args cannot be ...
|
Sept. 20, 2017, 8:24 a.m. |
+ 1 |
for Comment
veky: As the saying goes, "the pun was unintended, but it was definitely welcome". :-D --- Seriously: oh, ...
|
Sept. 19, 2017, 9:21 p.m. |
+ 1 |
for Comment
flpo: Note that (from doc): "User-defined classes have `__eq__()` and `__hash__()` methods by default; wit...
|
Sept. 19, 2017, 5:08 p.m. |
+ 1 |
for Comment
flpo: This is not just a counter-example, but also a multiset implementation :) >>> alist = List() >>> ase...
|
Sept. 19, 2017, 7:43 a.m. |
+ 1 |
for Comment
veky: Ok, try to explain why for i in range(len(sequence)): do something with sequence[i] is bad. --- And ...
|