March 16, 2022, 8:22 a.m. |
+3 |
Experience for voted solution trouble6174: 3 on Generator-guido |
Sept. 2, 2021, 4:05 p.m. |
+3 |
Experience for voted solution berinchik10: 3 on Generator-guido |
Aug. 2, 2021, 10:06 a.m. |
+3 |
Experience for voted solution gamer995: 3 on Generator-guido |
June 14, 2021, 1:51 p.m. |
+5 |
Experience for voted solution _Chico__5d82cee4f5234e78a5c65e: 5 on Generator-guido |
Dec. 24, 2020, 10:41 a.m. |
+1 |
Experience for voted comment Safwan_Samsudeen: 1 on guido: for s in itertools.chain.from_iterable(itertools.combinations(stones, r) for r in range(1, max_size ... |
Dec. 24, 2020, 10:41 a.m. |
+1 |
Experience for voted comment Safwan_Samsudeen: 1 on guido: max_size = math.ceil(len(stones) / 2) Use the // operator ("floor division") to do integer division ... |
Dec. 24, 2020, 10:41 a.m. |
+1 |
Experience for voted comment Safwan_Samsudeen: 1 on guido: def min_diff(self, stones): What should the answer be if stones is an empty list? I think it should ... |
Dec. 24, 2020, 10:41 a.m. |
+1 |
Experience for voted comment Safwan_Samsudeen: 1 on guido: best = None If you initialize best to a large enough value you won't need to special-case "best is N... |
Dec. 24, 2020, 10:41 a.m. |
+1 |
Experience for voted comment Safwan_Samsudeen: 1 on guido: return 1 << (len(stones) - 1) This is probably better written as 2 ** (len(stones) - 1), so the read... |
Sept. 15, 2020, 3:15 p.m. |
+1 |
Experience for voted comment Jon_Red: 1 on guido: 'Return True if password strong and False if not' Most programming style guides use "triple double" ... |
Sept. 15, 2020, 3:09 p.m. |
+1 |
Experience for voted comment Jon_Red: 1 on guido: To solve the exact problem in the puzzle, a function would indeed be simpler (just write return inst... |
June 8, 2020, 5:42 a.m. |
+1 |
Experience for voted comment dudas: 1 on guido: Heh. I have lots of power tools in my tool shed, but I still fix most things around the house with j... |
Feb. 1, 2020, 1:33 p.m. |
+1 |
Experience for voted solution secilia: 1 on Generator-guido |
May 14, 2019, 6:54 a.m. |
+1 |
Experience for voted comment veky: 1 on guido: This solution is awesome! I just have one (software engineering) suggestion -- find a better name fo... |
Feb. 12, 2019, 4:19 a.m. |
+1 |
Experience for voted comment PythonWithPI: 1 on guido: def checkio(labyrinth): # I'm definetely a fan of Dijkstra's (!!!) Funny, Dijkstra is a person, but ... |
Feb. 12, 2019, 4:16 a.m. |
+1 |
Experience for voted comment PythonWithPI: 1 on guido: Heh. I have lots of power tools in my tool shed, but I still fix most things around the house with j... |
Nov. 4, 2018, 6:21 p.m. |
+1 |
Experience for voted comment fed.kz: 1 on guido: This is a perfectly acceptable solution for passwords, which are typically not very long. I am going... |
Nov. 4, 2018, 4:53 p.m. |
+1 |
Experience for voted comment Phil15: 1 on guido: Heh. I have lots of power tools in my tool shed, but I still fix most things around the house with j... |
Nov. 23, 2017, 1:45 p.m. |
+1 |
Experience for voted comment hanpari: 1 on guido: This is a perfectly acceptable solution for passwords, which are typically not very long. I am going... |
Nov. 23, 2017, 1:44 p.m. |
+1 |
Experience for voted comment Apua: 1 on guido: Heh. I have lots of power tools in my tool shed, but I still fix most things around the house with j... |
Nov. 23, 2017, 1:44 p.m. |
+1 |
Experience for voted comment Apua: 1 on guido: To solve the exact problem in the puzzle, a function would indeed be simpler (just write return inst... |
Nov. 23, 2017, 1:44 p.m. |
+5 |
Experience for appreciated comment Gennady: 1 on guido: I don't think this solution is particularly clear -- I like your projective math version better, and... |
Nov. 23, 2017, 1:44 p.m. |
+1 |
Experience for voted comment Gennady: 1 on guido: I don't think this solution is particularly clear -- I like your projective math version better, and... |
Nov. 23, 2017, 1:44 p.m. |
+1 |
Experience for voted comment wiking: 1 on guido: I had a hard time deciding on the vote. On the plus side, this is a fairly complex algorithm and the... |
Nov. 23, 2017, 1:44 p.m. |
+1 |
Experience for voted comment bryukh: 1 on guido: Well, then this is the best we can do. Fine! |
Nov. 23, 2017, 1:44 p.m. |
+5 |
Experience for appreciated comment bryukh: 1 on guido: Well, then this is the best we can do. Fine! |
Nov. 23, 2017, 1:43 p.m. |
+1 |
Experience for voted comment bryukh: 1 on guido: This solution is awesome! I just have one (software engineering) suggestion -- find a better name fo... |
Nov. 23, 2017, 1:43 p.m. |
+1 |
Experience for voted comment artemrudenko: 1 on guido: def checkio(labyrinth): # I'm definetely a fan of Dijkstra's (!!!) Funny, Dijkstra is a person, but ... |
Nov. 23, 2017, 1:42 p.m. |
+1 |
Experience for voted comment DesmondDisturb: 1 on guido: def checkio(labyrinth): # I'm definetely a fan of Dijkstra's (!!!) Funny, Dijkstra is a person, but ... |
Nov. 23, 2017, 1:42 p.m. |
+1 |
Experience for voted comment Lijantropique: 1 on guido: To solve the exact problem in the puzzle, a function would indeed be simpler (just write return inst... |
Nov. 23, 2017, 1:42 p.m. |
+1 |
Experience for voted comment Cjkjvfnby: 1 on guido: def checkio(labyrinth): # I'm definetely a fan of Dijkstra's (!!!) Funny, Dijkstra is a person, but ... |
Nov. 23, 2017, 1:42 p.m. |
+1 |
Experience for voted comment chros: 1 on guido: def checkio(labyrinth): # I'm definetely a fan of Dijkstra's (!!!) Funny, Dijkstra is a person, but ... |
Nov. 23, 2017, 1:40 p.m. |
+1 |
Experience for voted comment DesmondDisturb: 1 on guido: To solve the exact problem in the puzzle, a function would indeed be simpler (just write return inst... |
Nov. 23, 2017, 1:40 p.m. |
+1 |
Experience for voted comment bryukh: 1 on guido: To solve the exact problem in the puzzle, a function would indeed be simpler (just write return inst... |
Nov. 23, 2017, 1:40 p.m. |
+1 |
Experience for voted comment bryukh: 1 on guido: Heh. I have lots of power tools in my tool shed, but I still fix most things around the house with j... |
Nov. 23, 2017, 1:40 p.m. |
+1 |
Experience for voted comment DesmondDisturb: 1 on guido: Heh. I have lots of power tools in my tool shed, but I still fix most things around the house with j... |
Nov. 23, 2017, 1:40 p.m. |
+1 |
Experience for voted comment bryukh: 1 on guido: I had a hard time deciding on the vote. On the plus side, this is a fairly complex algorithm and the... |
Nov. 23, 2017, 1:40 p.m. |
+1 |
Experience for voted comment LostxinthexMusic: 1 on guido: This is a perfectly acceptable solution for passwords, which are typically not very long. I am going... |
Nov. 23, 2017, 1:40 p.m. |
+1 |
Experience for voted comment DesmondDisturb: 1 on guido: It's interesting that you prefer making several passes over the input string just to avoid splitting... |
Nov. 23, 2017, 1:40 p.m. |
+5 |
Experience for appreciated comment DesmondDisturb: 1 on guido: It's interesting that you prefer making several passes over the input string just to avoid splitting... |
Nov. 23, 2017, 1:39 p.m. |
+1 |
Experience for voted comment bildja: 1 on guido: This is a perfectly acceptable solution for passwords, which are typically not very long. I am going... |
Nov. 23, 2017, 1:37 p.m. |
+1 |
Experience for voted comment veky: 1 on guido: def checkio(input_data): It's not your fault, but I do not understand why the problem takes a single... |
Nov. 23, 2017, 1:37 p.m. |
+1 |
Experience for voted comment oduvan: 1 on guido: def checkio(input_data): It's not your fault, but I do not understand why the problem takes a single... |
Nov. 23, 2017, 1:36 p.m. |
+1 |
Experience for voted comment Tiktin: 1 on guido: rm = [] Nit: you could just use range(len(matrix)). |
Nov. 23, 2017, 1:35 p.m. |
+1 |
Experience for voted comment Bibiche: 1 on guido: I would have liked a docstring or comment here explaining what the inputs and outputs are and what t... |
Nov. 23, 2017, 1:35 p.m. |
+1 |
Experience for voted comment bryukh: 1 on guido: in decrypt(data, cipher) What made you break the long line this way? It would look much better like ... |
Nov. 23, 2017, 1:35 p.m. |
+1 |
Experience for voted comment bryukh: 1 on guido: Some notes on the problem first: The problem doesn't require much algorithmic thinking; it just requ... |
Nov. 23, 2017, 1:35 p.m. |
+1 |
Experience for voted comment Tiktin: 1 on guido: This is a perfectly acceptable solution for passwords, which are typically not very long. I am going... |
Nov. 23, 2017, 1:35 p.m. |
+1 |
Experience for voted comment bryukh: 1 on guido: best = math.floor(total / 2) You can use // again here. You can then remove "import math" from your ... |
Nov. 23, 2017, 1:35 p.m. |
+1 |
Experience for voted comment bryukh: 1 on guido: ''' It's pretty random that you're using ''' for the docstring here and """ elsewhere. I recommend u... |
Nov. 23, 2017, 1:35 p.m. |
+1 |
Experience for voted comment oduvan: 1 on guido: 'Return True if password strong and False if not' Most programming style guides use "triple double" ... |
Nov. 23, 2017, 1:35 p.m. |
+1 |
Experience for voted comment oduvan: 1 on guido: This is a perfectly acceptable solution for passwords, which are typically not very long. I am going... |
Nov. 23, 2017, 1:35 p.m. |
+1 |
Experience for voted comment oduvan: 1 on guido: if __name__ == '__main__': It's hardly necessary to add the 'First' or 'Second' messages to the asse... |
Nov. 23, 2017, 1:35 p.m. |
+1 |
Experience for voted comment PositronicLlama: 1 on guido: This is a perfectly acceptable solution for passwords, which are typically not very long. I am going... |
Nov. 23, 2017, 1:35 p.m. |
+1 |
Experience for voted comment bryukh: 1 on guido: 'Return True if password strong and False if not' Most programming style guides use "triple double" ... |
Nov. 23, 2017, 1:35 p.m. |
+1 |
Experience for voted comment bryukh: 1 on guido: This is a perfectly acceptable solution for passwords, which are typically not very long. I am going... |
Nov. 23, 2017, 1:35 p.m. |
+1 |
Experience for voted comment bryukh: 1 on guido: if __name__ == '__main__': It's hardly necessary to add the 'First' or 'Second' messages to the asse... |
Nov. 23, 2017, 1:35 p.m. |
+1 |
Experience for voted comment bryukh: 1 on guido: return 1 << (len(stones) - 1) This is probably better written as 2 ** (len(stones) - 1), so the read... |
Nov. 23, 2017, 1:35 p.m. |
+1 |
Experience for voted comment bryukh: 1 on guido: y_size = math.floor(total / 2) + 1 Again, I think you can use // and avoid using the math module: |
Nov. 23, 2017, 1:34 p.m. |
+1 |
Experience for voted comment kagamimoe: 1 on guido: def checkio(labyrinth): # I'm definetely a fan of Dijkstra's (!!!) Funny, Dijkstra is a person, but ... |
Nov. 23, 2017, 1:33 p.m. |
+1 |
Experience for voted comment RyanDagg: 1 on guido: def checkio(labyrinth): # I'm definetely a fan of Dijkstra's (!!!) Funny, Dijkstra is a person, but ... |
Nov. 23, 2017, 1:33 p.m. |
+1 |
Experience for voted comment roganov: 1 on guido: def checkio(labyrinth): # I'm definetely a fan of Dijkstra's (!!!) Funny, Dijkstra is a person, but ... |
Nov. 23, 2017, 1:32 p.m. |
+1 |
Experience for voted comment oduvan: 1 on guido: This solution is awesome! I just have one (software engineering) suggestion -- find a better name fo... |
Jan. 13, 2016, 5 p.m. |
+1 |
Experience for voted comment edutilos: 1 on guido: Heh. I have lots of power tools in my tool shed, but I still fix most things around the house with j... |
Jan. 13, 2016, 2:59 p.m. |
+1 |
Experience for voted comment edutilos: 1 on guido: This solution is awesome! I just have one (software engineering) suggestion -- find a better name fo... |
July 10, 2015, 2:03 p.m. |
+1 |
Experience for voted comment siebenschlaefer: 1 on guido: def checkio(labyrinth): # I'm definetely a fan of Dijkstra's (!!!) Funny, Dijkstra is a person, but ... |
July 5, 2015, 10:37 a.m. |
+5 |
Experience for appreciated comment MaxAlive: 1 on guido: Nice one! Not a word too many. Still, I couldn't help thinking of what may be an improvement: check ... |
July 5, 2015, 10:37 a.m. |
+1 |
Experience for voted comment MaxAlive: 1 on guido: Nice one! Not a word too many. Still, I couldn't help thinking of what may be an improvement: check ... |
May 4, 2015, 7:53 a.m. |
+1 |
Experience for voted comment haidamak: 1 on guido: Nice work! Not the shortest solution, but it's of industrial strength -- doesn't create a list conta... |
May 3, 2015, 8:48 a.m. |
+1 |
Experience for voted comment mastak: 1 on guido: Nice work! Not the shortest solution, but it's of industrial strength -- doesn't create a list conta... |
May 3, 2015, 4:14 a.m. |
+1 |
Experience for voted comment bryukh: 1 on guido: Nice work! Not the shortest solution, but it's of industrial strength -- doesn't create a list conta... |
May 2, 2015, 6:56 p.m. |
+1 |
Experience for voted comment oduvan: 1 on guido: Nice work! Not the shortest solution, but it's of industrial strength -- doesn't create a list conta... |
May 2, 2015, 6:47 p.m. |
+1 |
Experience for voted comment lllz: 1 on guido: Nice work! Not the shortest solution, but it's of industrial strength -- doesn't create a list conta... |
April 2, 2015, 12:24 p.m. |
+1 |
Experience for voted comment YuriO: 1 on guido: Cool solution! Very clever use of str.split() and a strict interpretation of the input format descri... |
April 2, 2015, 12:24 p.m. |
+5 |
Experience for appreciated comment YuriO: 1 on guido: Cool solution! Very clever use of str.split() and a strict interpretation of the input format descri... |
April 1, 2015, 5:21 p.m. |
+1 |
Experience for voted comment mohdmaqboolalam_2064cc2feef844: 1 on guido: Cool solution! Very clever use of str.split() and a strict interpretation of the input format descri... |
April 1, 2015, 5:21 p.m. |
+5 |
Experience for appreciated comment mohdmaqboolalam_2064cc2feef844: 1 on guido: Cool solution! Very clever use of str.split() and a strict interpretation of the input format descri... |
April 1, 2015, 11:14 a.m. |
+1 |
Experience for voted comment hanpari: 1 on guido: I had a hard time deciding on the vote. On the plus side, this is a fairly complex algorithm and the... |
April 1, 2015, 11:09 a.m. |
+1 |
Experience for voted comment hanpari: 1 on guido: Cool solution! Very clever use of str.split() and a strict interpretation of the input format descri... |
April 1, 2015, 11:09 a.m. |
+5 |
Experience for appreciated comment hanpari: 1 on guido: Cool solution! Very clever use of str.split() and a strict interpretation of the input format descri... |
March 25, 2015, 8:01 a.m. |
+5 |
Experience for appreciated comment bryukh: 1 on guido: Cool solution! Very clever use of str.split() and a strict interpretation of the input format descri... |
March 25, 2015, 8:01 a.m. |
+1 |
Experience for voted comment bryukh: 1 on guido: Cool solution! Very clever use of str.split() and a strict interpretation of the input format descri... |
March 24, 2015, 11:22 p.m. |
+5 |
Experience for appreciated comment suic: 1 on guido: Cool solution! Very clever use of str.split() and a strict interpretation of the input format descri... |
March 24, 2015, 11:22 p.m. |
+1 |
Experience for voted comment suic: 1 on guido: Cool solution! Very clever use of str.split() and a strict interpretation of the input format descri... |
March 24, 2015, 7:32 p.m. |
+1 |
Experience for voted comment lllz: 1 on guido: Cool solution! Very clever use of str.split() and a strict interpretation of the input format descri... |
March 24, 2015, 7:32 p.m. |
+5 |
Experience for appreciated comment lllz: 1 on guido: Cool solution! Very clever use of str.split() and a strict interpretation of the input format descri... |
March 16, 2015, 2:28 p.m. |
+1 |
Experience for voted comment suic: 1 on guido: def checkio(labyrinth): # I'm definetely a fan of Dijkstra's (!!!) Funny, Dijkstra is a person, but ... |
March 1, 2015, 3:34 a.m. |
+3 |
Experience for voted solution LMAO: 3 on Generator-guido |
Feb. 19, 2015, 3:13 p.m. |
+1 |
Experience for voted comment NathanBlack: 1 on guido: Nice one! Not a word too many. Still, I couldn't help thinking of what may be an improvement: check ... |
Feb. 19, 2015, 3:13 p.m. |
+5 |
Experience for appreciated comment NathanBlack: 1 on guido: Nice one! Not a word too many. Still, I couldn't help thinking of what may be an improvement: check ... |
Feb. 15, 2015, 7:27 p.m. |
+5 |
Experience for appreciated comment oduvan: 1 on guido: Nice one! Not a word too many. Still, I couldn't help thinking of what may be an improvement: check ... |
Feb. 15, 2015, 7:27 p.m. |
+1 |
Experience for voted comment oduvan: 1 on guido: Nice one! Not a word too many. Still, I couldn't help thinking of what may be an improvement: check ... |
Feb. 15, 2015, 7:24 p.m. |
+5 |
Experience for appreciated comment oduvan: 1 on guido: Nice use of defaultdict(set), and I like the optimization of subtracting the best trace from all_nod... |
Feb. 15, 2015, 7:24 p.m. |
+1 |
Experience for voted comment oduvan: 1 on guido: Nice use of defaultdict(set), and I like the optimization of subtracting the best trace from all_nod... |
Feb. 14, 2015, 8:30 p.m. |
+5 |
Experience for appreciated comment lllz: 1 on guido: Nice use of defaultdict(set), and I like the optimization of subtracting the best trace from all_nod... |
Feb. 14, 2015, 8:30 p.m. |
+1 |
Experience for voted comment lllz: 1 on guido: Nice use of defaultdict(set), and I like the optimization of subtracting the best trace from all_nod... |
Feb. 14, 2015, 8:29 p.m. |
+1 |
Experience for voted comment lllz: 1 on guido: Nice one! Not a word too many. Still, I couldn't help thinking of what may be an improvement: check ... |
Feb. 14, 2015, 8:29 p.m. |
+5 |
Experience for appreciated comment lllz: 1 on guido: Nice one! Not a word too many. Still, I couldn't help thinking of what may be an improvement: check ... |
Feb. 14, 2015, 4:31 p.m. |
+5 |
Experience for appreciated comment Sim0000: 1 on guido: Nice one! Not a word too many. Still, I couldn't help thinking of what may be an improvement: check ... |
Feb. 14, 2015, 4:31 p.m. |
+1 |
Experience for voted comment Sim0000: 1 on guido: Nice one! Not a word too many. Still, I couldn't help thinking of what may be an improvement: check ... |