May 4, 2019, 6:11 p.m. |
+5 |
Experience for appreciated comment oduvan: 1 on Phil15: 3825 users have solved it at this time so it would be weird that tests have any issue. Mayve you sho... |
May 4, 2019, 6:11 p.m. |
+1 |
Experience for voted comment oduvan: 1 on Phil15: 3825 users have solved it at this time so it would be weird that tests have any issue. Mayve you sho... |
May 3, 2019, 5:41 p.m. |
+1 |
Experience for voted comment kurosawa4434: 1 on Phil15: You are in code-warrior mode this week :-D Have you try to solve it manually? I didn't really start ... |
May 3, 2019, 3:52 a.m. |
+1 |
Experience for voted solution ozzzya: 1 on 4-lines: ''.join(generator)-Phil15 |
May 2, 2019, 8:51 p.m. |
+1 |
Experience for voted comment kurosawa4434: 1 on Phil15: Great! It's merged and synced. |
May 1, 2019, 8:18 p.m. |
+1 |
Experience for voted comment kurosawa4434: 1 on Phil15: Awesome visualization as usual... thanks!! It's merged and I looked it! Glad you enjoyed it! |
May 1, 2019, 11:29 a.m. |
+2 |
Experience for voted solution Rino817: 1 on re.sub(r'[A-Z]', repl lambda function, name)-Phil15 |
April 30, 2019, 6:45 a.m. |
+5 |
Experience for voted solution Gonty: 3 on v2: using slicing, sets, generator and translation of punctuation =)-Phil15 |
April 29, 2019, 1:17 p.m. |
+1 |
Experience for voted comment knsgvh: 1 on Phil15: You forgot a closed parenthesis at the end. |
April 29, 2019, 1:17 p.m. |
+5 |
Experience for appreciated comment knsgvh: 1 on Phil15: You forgot a closed parenthesis at the end. |
April 29, 2019, 6:22 a.m. |
+5 |
Experience for appreciated comment Ilis: 1 on Phil15: Great but `zip(path, path[1:])` is enough because zip stops when any given iterable is finished. =) ... |
April 29, 2019, 6:22 a.m. |
+1 |
Experience for voted comment Ilis: 1 on Phil15: Great but `zip(path, path[1:])` is enough because zip stops when any given iterable is finished. =) ... |
April 28, 2019, 10:54 p.m. |
+1 |
Experience for voted solution jk928: 1 on First-Phil15 |
April 28, 2019, 10:26 p.m. |
+1 |
Experience for voted solution Andr__Mueller: 1 on with items coordinates dictionary (so seaside traveled once)-Phil15 |
April 28, 2019, 9:15 p.m. |
+1 |
Experience for voted comment kurosawa4434: 1 on Phil15: Once you made a choice, see what that implies (it implies a lot usually), see if it's possible. My u... |
April 28, 2019, 7:42 p.m. |
+1 |
Experience for voted comment jk928: 1 on Phil15: Yep, we don't need to split words of an entire book to have its first word =) You can see a few comp... |
April 27, 2019, 5:25 p.m. |
+1 |
Experience for voted comment Sim0000: 1 on Phil15: It's python syntax, you can't do everything in a line without indentation. # This is an conditional ... |
April 27, 2019, 5:24 p.m. |
+1 |
Experience for voted comment Sim0000: 1 on Phil15: Now that he puts its code the right way, I think your answer can fix his problem. |
April 27, 2019, 9:51 a.m. |
+5 |
Experience for appreciated comment colinmcnicholl: 1 on Phil15: Private messages could be useful. You removed your entire forum post, not just the last comment. So ... |
April 27, 2019, 9:51 a.m. |
+1 |
Experience for voted comment colinmcnicholl: 1 on Phil15: Private messages could be useful. You removed your entire forum post, not just the last comment. So ... |
April 26, 2019, 6:19 p.m. |
+1 |
Experience for voted solution tom-tom_f993b3abc4814d4cb5476e: 1 on v2 (from flpo veky and myself): Party(Named, set), Friends(str) with lambda show_invite-Phil15 |
April 25, 2019, 11:16 a.m. |
+1 |
Experience for voted comment quarkov: 1 on Phil15: Yes it's your code # This works response = text_formatting(a, 38, 'l') assert response == answer # T... |
April 25, 2019, 8:26 a.m. |
+5 |
Experience for appreciated comment Ilis: 1 on Phil15: Great. Now in a more pythonic way: while len(front) > 0: # or just while front: For a previous thing... |
April 25, 2019, 8:26 a.m. |
+1 |
Experience for voted comment Ilis: 1 on Phil15: Great. Now in a more pythonic way: while len(front) > 0: # or just while front: For a previous thing... |
April 25, 2019, 7:41 a.m. |
+1 |
Experience for voted solution Vladimir_Zavorotnev: 1 on operator.itemgetter-Phil15 |
April 25, 2019, 6:20 a.m. |
+1 |
Experience for voted solution Marlen_Nurmakov: 1 on min(enumerate(cols(wall)), count '#' lambda key)[0]-Phil15 |
April 25, 2019, 5:35 a.m. |
+2 |
Experience for voted solution Marlen_Nurmakov: 2 on with items coordinates dictionary (so seaside traveled once)-Phil15 |
April 24, 2019, 6:26 p.m. |
+5 |
Experience for appreciated comment Ilis: 1 on Phil15: def climbing_route(grid): nbrows, nbcols = len(grid), len(grid[0]) START, END = (0, 0), (nbrows - 1,... |
April 24, 2019, 6:26 p.m. |
+1 |
Experience for voted comment Ilis: 1 on Phil15: def climbing_route(grid): nbrows, nbcols = len(grid), len(grid[0]) START, END = (0, 0), (nbrows - 1,... |
April 24, 2019, 5:35 p.m. |
+5 |
Experience for appreciated comment Ilis: 1 on Phil15: Yeah I looked timings, `traverse` really takes its time. On the first extra test, where you had a pr... |
April 24, 2019, 5:35 p.m. |
+1 |
Experience for voted comment Ilis: 1 on Phil15: Yeah I looked timings, `traverse` really takes its time. On the first extra test, where you had a pr... |
April 24, 2019, 1:35 p.m. |
+1 |
Experience for voted comment Ilis: 1 on Phil15: bi_sj = all(possible((i, srcj), (i + 1, srcj)) for i in range(srci, dsti)) bi_dj = all(possible((i, ... |
April 24, 2019, 1:35 p.m. |
+5 |
Experience for appreciated comment Ilis: 1 on Phil15: bi_sj = all(possible((i, srcj), (i + 1, srcj)) for i in range(srci, dsti)) bi_dj = all(possible((i, ... |
April 24, 2019, 1:12 p.m. |
+1 |
Experience for voted comment Ilis: 1 on Phil15: Line 112, your program say trav_dists[((0, 0), (1, 2))] == 3 # for the last map. It's not. So if it'... |
April 24, 2019, 1:12 p.m. |
+5 |
Experience for appreciated comment Ilis: 1 on Phil15: Line 112, your program say trav_dists[((0, 0), (1, 2))] == 3 # for the last map. It's not. So if it'... |
April 24, 2019, 12:59 p.m. |
+5 |
Experience for appreciated comment Ilis: 1 on Phil15: Took me a while to understand it enough. Line 60 above `dist = (dsti - srci) + (dstj - srcj)` is wro... |
April 24, 2019, 12:59 p.m. |
+1 |
Experience for voted comment Ilis: 1 on Phil15: Took me a while to understand it enough. Line 60 above `dist = (dsti - srci) + (dstj - srcj)` is wro... |
April 24, 2019, 8:04 a.m. |
+1 |
Experience for voted comment Sim0000: 1 on Phil15: You need to update the sorting key. There, you look for counts but when there is equality of counts,... |
April 24, 2019, 8:04 a.m. |
+1 |
Experience for voted comment Sim0000: 1 on Phil15: > If you have **two or more letters with the same frequency**, then return the letter which comes fi... |
April 24, 2019, 8:04 a.m. |
+1 |
Experience for voted comment Sim0000: 1 on Phil15: LOL you put nearly everything in comment ^^ |
April 23, 2019, 8:22 p.m. |
+1 |
Experience for voted comment Sim0000: 1 on Phil15: CheckiO stores tests as lists of lists. This is why you see lists. But tuples are given to your func... |
April 23, 2019, 7:43 p.m. |
+14 |
Experience for voted solution mikra: 2 on 6-liner: scipy.integrate and probabilities power-Phil15 |
April 23, 2019, 4:57 p.m. |
+1 |
Experience for voted comment elena.mekhanoshina: 1 on Phil15: `sorted` returns a sorted list copy of the list/tuple so # Sort the list IN-PLACE and return it. lst... |
April 23, 2019, 1:18 p.m. |
+8 |
Experience for solved mission Text Formatting |
April 23, 2019, 1:17 p.m. |
+8 |
Experience for created mission Text Formatting |
April 23, 2019, 12:45 p.m. |
+5 |
Experience for appreciated comment Canon11213: 1 on Phil15: `return float(result)` should make it work. result is a float but a numpy float ``. Numpy has its ow... |
April 23, 2019, 12:45 p.m. |
+1 |
Experience for voted comment Canon11213: 1 on Phil15: `return float(result)` should make it work. result is a float but a numpy float ``. Numpy has its ow... |
April 23, 2019, 3:51 a.m. |
+1 |
Experience for voted comment Ilis: 1 on Phil15: Yeah, I think it would be great that difficulty level would be updated when enough people tried to s... |
April 23, 2019, 3:51 a.m. |
+5 |
Experience for appreciated comment Ilis: 1 on Phil15: Yeah, I think it would be great that difficulty level would be updated when enough people tried to s... |
April 22, 2019, 3:55 p.m. |
+5 |
Experience for appreciated comment quarkov: 1 on Phil15: Yeah, I think it would be great that difficulty level would be updated when enough people tried to s... |
April 22, 2019, 3:55 p.m. |
+1 |
Experience for voted comment quarkov: 1 on Phil15: Yeah, I think it would be great that difficulty level would be updated when enough people tried to s... |
April 19, 2019, 8:30 p.m. |
+4 |
Experience for voted solution tanya: 4 on divmod%-Phil15 |
April 19, 2019, 4:20 p.m. |
+1 |
Experience for voted solution Tokatema: 1 on with collections.Counter-Phil15 |
April 19, 2019, 2:50 p.m. |
+1 |
Experience for voted solution Plorchat: 1 on Scary solution : come here to give me a vote or I take your sordid life-Phil15 |
April 19, 2019, 10:19 a.m. |
+1 |
Experience for voted solution grishanya911: 1 on text.split(maxsplit=1)[0]-Phil15 |
April 17, 2019, 11:40 a.m. |
+2 |
Experience for voted solution hag: 2 on 1-liner: simple min with key-Phil15 |
April 17, 2019, 7:12 a.m. |
+2 |
Experience for voted solution Ilis: 1 on Army with 3 properties : is_alive, warrior, pop-Phil15 |
April 17, 2019, 7:06 a.m. |
+4 |
Experience for voted solution ceho.main: 4 on With dict of hashlib functions, utf-8 encode, hexdigest-Phil15 |
April 17, 2019, 6:06 a.m. |
+3 |
Experience for voted solution igor.v.dudenko: 3 on no fromisoformat?-Phil15 |
April 16, 2019, 5 p.m. |
+2 |
Experience for voted solution inz2008: 1 on Army with 3 properties : is_alive, warrior, pop-Phil15 |
April 16, 2019, 3:50 p.m. |
+2 |
Experience for voted solution alabama_09: 2 on 1-liner: simple min with key-Phil15 |
April 16, 2019, 10:32 a.m. |
+3 |
Experience for voted solution JumpOverLedge: 3 on With (new) hit method returning damage, adapted for vampires.-Phil15 |
April 15, 2019, 6:47 p.m. |
+7 |
Experience for voted solution AlexanderP: 2 on With chain rows/cols/diags generators-Phil15 |
April 15, 2019, 1:04 p.m. |
+14 |
Experience for voted solution Gonty: 3 on Compute volume and area of a spheroid-Phil15 |
April 14, 2019, 5:39 p.m. |
+3 |
Experience for voted solution Egor_Antonov: 1 on lambda and math upper bound-Phil15 |
April 13, 2019, 1:02 p.m. |
+5 |
Experience for appreciated comment oduvan: 1 on Phil15: @veky "_Given iterables have to be wellfounded_" should be a precondition. Or the problem would not ... |
April 13, 2019, 1:02 p.m. |
+1 |
Experience for voted comment oduvan: 1 on Phil15: @veky "_Given iterables have to be wellfounded_" should be a precondition. Or the problem would not ... |
April 12, 2019, 7:44 p.m. |
+15 |
Experience for solved mission How Deep |
April 12, 2019, 4:39 p.m. |
+5 |
Experience for appreciated comment Ilis: 1 on Phil15: If you don't want store all valid coordinates, this is what I do: MOVES = (-1, 0), (1, 0), (0, -1), ... |
April 12, 2019, 4:39 p.m. |
+1 |
Experience for voted comment Ilis: 1 on Phil15: If you don't want store all valid coordinates, this is what I do: MOVES = (-1, 0), (1, 0), (0, -1), ... |
April 12, 2019, 11:12 a.m. |
+1 |
Experience for voted solution rodka81: 1 on Dijkstra with priority queue-Phil15 |
April 12, 2019, 10:18 a.m. |
+4 |
Experience for voted solution rodka81: 4 on [v3] 1-liner: count odd divisors (the naive way)-Phil15 |
April 12, 2019, 12:15 a.m. |
+10 |
Experience for voted solution juestr: 1 on 6-liner: scipy.integrate and probabilities power-Phil15 |
April 11, 2019, 7:47 p.m. |
+1 |
Experience for voted solution froot123: 1 on [v3] 1-liner: count odd divisors (the naive way)-Phil15 |
April 11, 2019, 9:30 a.m. |
+5 |
Experience for appreciated comment AsEsm: 1 on Phil15: line 2 is useless, there is no `'` in the string... It defines a string on multiples lines. check is... |
April 11, 2019, 9:30 a.m. |
+1 |
Experience for voted comment AsEsm: 1 on Phil15: line 2 is useless, there is no `'` in the string... It defines a string on multiples lines. check is... |
April 11, 2019, 8:37 a.m. |
+1 |
Experience for voted comment oduvan: 1 on Phil15: @oduvan I hope it can help. |
April 11, 2019, 8:01 a.m. |
+1 |
Experience for voted solution Ilis: 1 on Try to remove from deck with sorted hand-Phil15 |
April 11, 2019, 3:21 a.m. |
+5 |
Experience for appreciated comment Sim0000: 1 on Phil15: line 2 is useless, there is no `'` in the string... It defines a string on multiples lines. check is... |
April 11, 2019, 3:21 a.m. |
+1 |
Experience for voted comment Sim0000: 1 on Phil15: line 2 is useless, there is no `'` in the string... It defines a string on multiples lines. check is... |
April 10, 2019, 10:51 p.m. |
+5 |
Experience for appreciated comment TranquilAria: 1 on Phil15: First version, line 2 longest,count=bool(line),1 If the line is not empty, longest can be initialize... |
April 10, 2019, 10:51 p.m. |
+1 |
Experience for voted comment TranquilAria: 1 on Phil15: First version, line 2 longest,count=bool(line),1 If the line is not empty, longest can be initialize... |
April 10, 2019, 9:05 p.m. |
+1 |
Experience for voted comment Ylliw: 1 on Phil15: You told me that your solution is slower than mine (absolutely no shame in that, you solved it and i... |
April 10, 2019, 9:05 p.m. |
+5 |
Experience for appreciated comment Ylliw: 1 on Phil15: You told me that your solution is slower than mine (absolutely no shame in that, you solved it and i... |
April 10, 2019, 2:50 p.m. |
+24 |
Experience for voted solution Ylliw: 5 on Unique neighbors and small paths search-Phil15 |
April 10, 2019, 12:32 p.m. |
+1 |
Experience for voted comment Ilis: 1 on Phil15: The integer type is the wrong thing. Numpy have its own integer type. import numpy as np >>> type(np... |
April 10, 2019, 12:32 p.m. |
+5 |
Experience for appreciated comment Ilis: 1 on Phil15: The integer type is the wrong thing. Numpy have its own integer type. import numpy as np >>> type(np... |
April 10, 2019, 11:04 a.m. |
+5 |
Experience for voted solution oduvan: 5 on First-Phil15 |
April 10, 2019, 3:46 a.m. |
+2 |
Experience for voted solution mlb00: 2 on text.split(maxsplit=1)[0]-Phil15 |
April 9, 2019, 5:20 a.m. |
+5 |
Experience for appreciated comment HeNeArKr: 1 on Phil15: There is, hopefully, another way to guarantee that without sorting the entire set, your key function... |
April 9, 2019, 5:20 a.m. |
+2 |
Experience for voted comment HeNeArKr: 1 on Phil15: There is, hopefully, another way to guarantee that without sorting the entire set, your key function... |
April 9, 2019, 1:33 a.m. |
+1 |
Experience for voted solution ilanopat: 1 on First-Phil15 |
April 8, 2019, 1:12 p.m. |
+5 |
Experience for appreciated comment Ilis: 1 on Phil15: From https://py.checkio.org/forum/post/12919/cant-pass-some-tests/#comment-67104 Author made the ord... |
April 8, 2019, 1:12 p.m. |
+1 |
Experience for voted comment Ilis: 1 on Phil15: From https://py.checkio.org/forum/post/12919/cant-pass-some-tests/#comment-67104 Author made the ord... |
April 8, 2019, 11:30 a.m. |
+6 |
Experience for voted solution tanya: 4 on 1-liner: simple min with key-Phil15 |
April 7, 2019, 8:02 p.m. |
+2 |
Experience for voted solution TheShu: 1 on Dijkstra-Phil15 |
April 7, 2019, 4:57 p.m. |
+1 |
Experience for voted solution Ilis: 1 on sum bool-Phil15 |
April 7, 2019, 12:22 p.m. |
+1 |
Experience for voted comment Sim0000: 1 on Phil15: `i.isalpha` is a method, and you need to call it: `i.isalpha()`. |
April 5, 2019, 2:21 p.m. |
+4 |
Experience for voted solution fullset: 1 on lambda and math upper bound-Phil15 |
April 5, 2019, 2:31 a.m. |
+1 |
Experience for voted comment Oksana_Antropova: 1 on Phil15: Well, that way, it's hard to understand when exactly an unit is removed from its army. I thought you... |