May 9, 2018, 1:52 p.m. |
+1 |
Experience for voted solution MrPod: 1 on little compex-Cjkjvfnby |
May 5, 2018, 6:12 a.m. |
+1 |
Experience for voted comment Flom: 1 on Cjkjvfnby: Set -1 because **len(array) == 0** PEP8: For sequences, (strings, lists, tuples), use the fact that ... |
May 4, 2018, 12:40 a.m. |
+1 |
Experience for voted comment B31aim: 1 on Cjkjvfnby: Comment is not so good |
May 3, 2018, 1:13 p.m. |
+1 |
Experience for voted solution writexiang: 1 on sorted-Cjkjvfnby |
May 3, 2018, 9:23 a.m. |
+2 |
Experience for voted solution quarkov: 2 on sorted-Cjkjvfnby |
April 29, 2018, 10:04 a.m. |
+1 |
Experience for voted comment alexander.gorelyshev: 1 on Cjkjvfnby: You select wrong category. |
April 29, 2018, 10:04 a.m. |
+1 |
Experience for voted comment alexander.gorelyshev: 1 on Cjkjvfnby: Set -1 because **len(array) == 0** PEP8: For sequences, (strings, lists, tuples), use the fact that ... |
April 21, 2018, 1:12 p.m. |
+1 |
Experience for voted solution cangshu233: 1 on sorted-Cjkjvfnby |
April 19, 2018, 4:59 p.m. |
+1 |
Experience for voted solution kalauroma7997: 1 on __-Cjkjvfnby |
April 16, 2018, 7 p.m. |
+2 |
Experience for voted solution J.W: 2 on __-Cjkjvfnby |
April 9, 2018, 3:40 a.m. |
+1 |
Experience for voted solution infinitewaves: 1 on simple-Cjkjvfnby |
March 27, 2018, 12:53 a.m. |
+1 |
Experience for voted solution ChangrunLi: 1 on sorted-Cjkjvfnby |
March 24, 2018, 12:03 p.m. |
+2 |
Experience for voted solution evarome10: 2 on sorted-Cjkjvfnby |
March 13, 2018, 11:44 p.m. |
-2 |
Experience for voted solution JonKPowers: -2 on sorted-Cjkjvfnby |
March 13, 2018, 1:34 p.m. |
-4 |
Experience for voted solution Phil15: -4 on sorted-Cjkjvfnby |
March 7, 2018, 11:24 p.m. |
+1 |
Experience for voted solution J.W: 1 on sorted-Cjkjvfnby |
March 2, 2018, 7:19 p.m. |
+1 |
Experience for voted solution kuliomin.d.a: 1 on sorted-Cjkjvfnby |
March 1, 2018, 8:05 p.m. |
+1 |
Experience for voted solution Torben: 1 on reduce-Cjkjvfnby |
Feb. 27, 2018, 1:34 p.m. |
+1 |
Experience for voted comment a_bvsn: 1 on Cjkjvfnby: Set -1 because **len(array) == 0** PEP8: For sequences, (strings, lists, tuples), use the fact that ... |
Feb. 20, 2018, 4:49 p.m. |
+1 |
Experience for voted solution vadim.piontkovskiy: 1 on sorted-Cjkjvfnby |
Feb. 7, 2018, 9:36 a.m. |
+1 |
Experience for voted solution wanglj07: 1 on sorted-Cjkjvfnby |
Feb. 3, 2018, 12:35 a.m. |
+1 |
Experience for voted solution gssanyam12: 1 on __-Cjkjvfnby |
Jan. 25, 2018, 3:26 p.m. |
+1 |
Experience for voted solution ishida330: 1 on sorted-Cjkjvfnby |
Jan. 20, 2018, 5 a.m. |
+1 |
Experience for voted solution dayfine: 1 on operators-Cjkjvfnby |
Jan. 15, 2018, 3:07 p.m. |
+1 |
Experience for voted solution markshieldprax: 1 on sorted-Cjkjvfnby |
Jan. 15, 2018, 3:26 a.m. |
+1 |
Experience for voted solution dayfine: 1 on sorted-Cjkjvfnby |
Jan. 13, 2018, 8:53 p.m. |
+2 |
Experience for voted solution metricalideal: 2 on sorted-Cjkjvfnby |
Jan. 7, 2018, 3:48 p.m. |
+1 |
Experience for voted solution 9669174k: 1 on sorted-Cjkjvfnby |
Dec. 12, 2017, 7:55 p.m. |
+3 |
Experience for voted solution weizhe1983: 3 on __-Cjkjvfnby |
Dec. 5, 2017, 1:46 p.m. |
+1 |
Experience for voted solution juntatalor: 1 on sorted-Cjkjvfnby |
Dec. 4, 2017, 2:59 a.m. |
+1 |
Experience for voted solution brnmcdnld720: 1 on __-Cjkjvfnby |
Dec. 3, 2017, 5:25 p.m. |
-2 |
Experience for voted solution brankovicmilos: -2 on reduce-Cjkjvfnby |
Nov. 25, 2017, 11:11 a.m. |
+1 |
Experience for voted solution Stapler_Li: 1 on sorted-Cjkjvfnby |
Nov. 25, 2017, 10:18 a.m. |
+1 |
Experience for voted solution snotna: 1 on recursion-Cjkjvfnby |
Nov. 24, 2017, 12:30 p.m. |
+1 |
Experience for voted solution Noto_Ootori: 1 on __-Cjkjvfnby |
Nov. 23, 2017, 1:46 p.m. |
-1 |
Experience for voted comment LostxinthexMusic: -1 on Cjkjvfnby: **return bin(number).count(1)** |
Nov. 23, 2017, 1:45 p.m. |
+1 |
Experience for voted comment Dragomitch: 1 on Cjkjvfnby: You can use tuple of tuples instead dict **elements = ((1000 : 'M'), ...)** to avoid sort. |
Nov. 23, 2017, 1:45 p.m. |
+5 |
Experience for appreciated comment Dragomitch: 1 on Cjkjvfnby: You can use tuple of tuples instead dict **elements = ((1000 : 'M'), ...)** to avoid sort. |
Nov. 23, 2017, 1:45 p.m. |
+1 |
Experience for voted comment dapostolopoylos_8fc7a82dae6f47: 1 on Cjkjvfnby: you can use **math.pi** |
Nov. 23, 2017, 1:45 p.m. |
+5 |
Experience for appreciated comment dapostolopoylos_8fc7a82dae6f47: 1 on Cjkjvfnby: you can use **math.pi** |
Nov. 23, 2017, 1:45 p.m. |
+1 |
Experience for voted comment LexCavalera: 1 on Cjkjvfnby: Check **str.zfill** in python docs. You can use **zip** instead of **enumerate**: **for com\_char, p... |
Nov. 23, 2017, 1:45 p.m. |
+5 |
Experience for appreciated comment LexCavalera: 1 on Cjkjvfnby: Check **str.zfill** in python docs. You can use **zip** instead of **enumerate**: **for com\_char, p... |
Nov. 23, 2017, 1:45 p.m. |
+1 |
Experience for voted comment veky: 1 on Cjkjvfnby: European Association of Fish Pathologists likes you solution :) |
Nov. 23, 2017, 1:45 p.m. |
+5 |
Experience for appreciated comment veky: 1 on Cjkjvfnby: European Association of Fish Pathologists likes you solution :) |
Nov. 23, 2017, 1:45 p.m. |
+1 |
Experience for voted comment Sim0000: 1 on Cjkjvfnby: Python docs about max and min. My solution based on this hint. |
Nov. 23, 2017, 1:45 p.m. |
+5 |
Experience for appreciated comment Sim0000: 1 on Cjkjvfnby: Python docs about max and min. My solution based on this hint. |
Nov. 23, 2017, 1:45 p.m. |
+1 |
Experience for voted comment AndrewDunai: 1 on Cjkjvfnby: It is bad practice to use too broad exception clause. **int(n)** in line 6 is real ugly. You mutate ... |
Nov. 23, 2017, 1:45 p.m. |
+5 |
Experience for appreciated comment AndrewDunai: 1 on Cjkjvfnby: It is bad practice to use too broad exception clause. **int(n)** in line 6 is real ugly. You mutate ... |
Nov. 23, 2017, 1:45 p.m. |
+1 |
Experience for voted comment kkarpieszuk: 1 on Cjkjvfnby: You select wrong category. |
Nov. 23, 2017, 1:45 p.m. |
+1 |
Experience for voted comment Lasica: 1 on Cjkjvfnby: Syntax overview: #1-2 garbage comments #18 strange description of assignment. And you never meet her... |
Nov. 23, 2017, 1:45 p.m. |
+5 |
Experience for appreciated comment Lasica: 1 on Cjkjvfnby: Syntax overview: #1-2 garbage comments #18 strange description of assignment. And you never meet her... |
Nov. 23, 2017, 1:45 p.m. |
+1 |
Experience for voted comment bryukh: 1 on Cjkjvfnby: I think yes. I forgot to change list to queue. And this is not best solution :( I should not solve a... |
Nov. 23, 2017, 1:45 p.m. |
+1 |
Experience for voted comment Lasica: 1 on Cjkjvfnby: no: **p = list(map(lambda x:None, METALS))** yes: **p = [None] * len(METALS)** no: **if p[idx] == No... |
Nov. 23, 2017, 1:45 p.m. |
+1 |
Experience for voted comment bryukh: 1 on Cjkjvfnby: Just crazy idea: You can make test what will check diff of code and block if code has more insertion... |
Nov. 23, 2017, 1:45 p.m. |
+5 |
Experience for appreciated comment bryukh: 1 on Cjkjvfnby: Just crazy idea: You can make test what will check diff of code and block if code has more insertion... |
Nov. 23, 2017, 1:45 p.m. |
+1 |
Experience for voted comment bryukh: 1 on Cjkjvfnby: >For example: n = "18". As we can see k should be greater than 8. If k == 9, then n = 20 in the deci... |
Nov. 23, 2017, 1:45 p.m. |
+5 |
Experience for appreciated comment bryukh: 1 on Cjkjvfnby: >For example: n = "18". As we can see k should be greater than 8. If k == 9, then n = 20 in the deci... |
Nov. 23, 2017, 1:45 p.m. |
+5 |
Experience for appreciated comment yarmak_vladislav: 1 on Cjkjvfnby: Guido about reduce: [The fate of reduce() in Python 3000](http://www.artima.com/weblogs/viewpost.jsp... |
Nov. 23, 2017, 1:45 p.m. |
+1 |
Experience for voted comment yarmak_vladislav: 1 on Cjkjvfnby: Guido about reduce: [The fate of reduce() in Python 3000](http://www.artima.com/weblogs/viewpost.jsp... |
Nov. 23, 2017, 1:45 p.m. |
+1 |
Experience for voted comment manbrk: 1 on Cjkjvfnby: You can use tuple of tuples instead dict **elements = ((1000 : 'M'), ...)** to avoid sort. |
Nov. 23, 2017, 1:45 p.m. |
+5 |
Experience for appreciated comment manbrk: 1 on Cjkjvfnby: You can use tuple of tuples instead dict **elements = ((1000 : 'M'), ...)** to avoid sort. |
Nov. 23, 2017, 1:44 p.m. |
+5 |
Experience for appreciated comment PositronicLlama: 1 on Cjkjvfnby: Nice solution. **open** is bad name for variable. Regular expression and **raise** not necessary (by... |
Nov. 23, 2017, 1:44 p.m. |
+1 |
Experience for voted comment PositronicLlama: 1 on Cjkjvfnby: Nice solution. **open** is bad name for variable. Regular expression and **raise** not necessary (by... |
Nov. 23, 2017, 1:44 p.m. |
+1 |
Experience for voted comment oduvan: 1 on Cjkjvfnby: Line 18 looks strange. Why you choose 10000? Why not 42? And better to put it inside solve function.... |
Nov. 23, 2017, 1:44 p.m. |
+5 |
Experience for appreciated comment Sim0000: 1 on Cjkjvfnby: This is same idea as I use in my solution. I prefer to use .extend instead of **+=**. (it is not fas... |
Nov. 23, 2017, 1:44 p.m. |
+1 |
Experience for voted comment Sim0000: 1 on Cjkjvfnby: This is same idea as I use in my solution. I prefer to use .extend instead of **+=**. (it is not fas... |
Nov. 23, 2017, 1:44 p.m. |
+5 |
Experience for appreciated comment Sim0000: 1 on Cjkjvfnby: [Efficient String Concatenation in Python](http://skymind.com/~ocrow/python_string/) |
Nov. 23, 2017, 1:44 p.m. |
+1 |
Experience for voted comment Sim0000: 1 on Cjkjvfnby: [Efficient String Concatenation in Python](http://skymind.com/~ocrow/python_string/) |
Nov. 23, 2017, 1:44 p.m. |
+1 |
Experience for voted comment bryukh: 1 on Cjkjvfnby: What is stronger: intersection or 'is considered wrong because it contains nested tags.' |
Nov. 23, 2017, 1:44 p.m. |
+1 |
Experience for voted comment bryukh: 1 on Cjkjvfnby: Why you don't make error messages for modules from standard library? **"This module is not allowed o... |
Nov. 23, 2017, 1:44 p.m. |
+1 |
Experience for voted comment Eldin: 1 on Cjkjvfnby: **if seq** will call seq.\_\_len\_\_(), it will return integer, integer will be converted to bool. T... |
Nov. 23, 2017, 1:44 p.m. |
+1 |
Experience for voted comment Eldin: 1 on Cjkjvfnby: **append** return None it mutates list. x, y = random.choice(opencells) return [False, x, y] # but t... |
Nov. 23, 2017, 1:44 p.m. |
+5 |
Experience for appreciated comment Eldin: 1 on Cjkjvfnby: **append** return None it mutates list. x, y = random.choice(opencells) return [False, x, y] # but t... |
Nov. 23, 2017, 1:44 p.m. |
+1 |
Experience for voted comment veky: 1 on Cjkjvfnby: PERSPECTIVE`S WAY, WAY OFF. http://stephanpastis.files.wordpress.com/2009/03/hookah.gif?w=675&h=315 |
Nov. 23, 2017, 1:44 p.m. |
+1 |
Experience for voted comment Gennady: 1 on Cjkjvfnby: This looks bad: **line = [0 for i in range(0,num)]** you can use: **line = [0] * num** You can use *... |
Nov. 23, 2017, 1:44 p.m. |
+5 |
Experience for appreciated comment Gennady: 1 on Cjkjvfnby: This looks bad: **line = [0 for i in range(0,num)]** you can use: **line = [0] * num** You can use *... |
Nov. 23, 2017, 1:44 p.m. |
+1 |
Experience for voted comment PositronicLlama: 1 on Cjkjvfnby: **open** is builtin python function (even it does not present here) don't shadow it. You doc string ... |
Nov. 23, 2017, 1:44 p.m. |
+5 |
Experience for appreciated comment PositronicLlama: 1 on Cjkjvfnby: **open** is builtin python function (even it does not present here) don't shadow it. You doc string ... |
Nov. 23, 2017, 1:44 p.m. |
+1 |
Experience for voted comment Sim0000: 1 on Cjkjvfnby: No need to use deque here. list.pop is enough. You call area for each point it is super ineffective.... |
Nov. 23, 2017, 1:44 p.m. |
+5 |
Experience for appreciated comment Sim0000: 1 on Cjkjvfnby: No need to use deque here. list.pop is enough. You call area for each point it is super ineffective.... |
Nov. 23, 2017, 1:44 p.m. |
+5 |
Experience for appreciated comment dwarfjay: 1 on Cjkjvfnby: You can sort a,b,c at the begining. This will simplify check and you will not need sort at the end. ... |
Nov. 23, 2017, 1:44 p.m. |
+1 |
Experience for voted comment dwarfjay: 1 on Cjkjvfnby: You can sort a,b,c at the begining. This will simplify check and you will not need sort at the end. ... |
Nov. 23, 2017, 1:44 p.m. |
+1 |
Experience for voted comment bryukh: 1 on Cjkjvfnby: > I wanna write a clear code with own class because it is not intuitive that list is triangle. It is... |
Nov. 23, 2017, 1:44 p.m. |
+1 |
Experience for voted comment otaki1048: 1 on Cjkjvfnby: I down vote this solution because you use **fs += [str(p)]** instead of **fs.append(str(p))**. **boo... |
Nov. 23, 2017, 1:44 p.m. |
+1 |
Experience for voted comment otaki1048: 1 on Cjkjvfnby: no: **((number%3) == 0)** yes: **number % 3 == 0** no: **if len(msg) > 0** yes: **if msg** |
Nov. 23, 2017, 1:44 p.m. |
+1 |
Experience for voted comment artemrudenko: 1 on Cjkjvfnby: If you change names to normal, most comments can be omitted. It is hard find code inside comments. D... |
Nov. 23, 2017, 1:44 p.m. |
+1 |
Experience for voted comment hanpari: 1 on Cjkjvfnby: [speed tests source](http://pastebin.com/PYuSjWDt) small medium large small_with_0 medium_with_0 lar... |
Nov. 23, 2017, 1:44 p.m. |
+5 |
Experience for appreciated comment z_kro: 1 on Cjkjvfnby: You lambda can be replaced by function from standard library. |
Nov. 23, 2017, 1:44 p.m. |
+1 |
Experience for voted comment z_kro: 1 on Cjkjvfnby: You lambda can be replaced by function from standard library. |
Nov. 23, 2017, 1:44 p.m. |
+1 |
Experience for voted comment odwl: 1 on Cjkjvfnby: Making own implementation for standard library functions is not clear. Using standard library functi... |
Nov. 23, 2017, 1:44 p.m. |
+1 |
Experience for voted comment mogers: 1 on Cjkjvfnby: #### 1. You should have bage "Line saver" :) For saving 2 lines in line 13 and one in line 15. #### ... |
Nov. 23, 2017, 1:43 p.m. |
+1 |
Experience for voted comment bryukh: 1 on Cjkjvfnby: You can sort a,b,c at the begining. This will simplify check and you will not need sort at the end. ... |
Nov. 23, 2017, 1:43 p.m. |
+5 |
Experience for appreciated comment bryukh: 1 on Cjkjvfnby: You can sort a,b,c at the begining. This will simplify check and you will not need sort at the end. ... |
Nov. 23, 2017, 1:43 p.m. |
+5 |
Experience for appreciated comment bryukh: 1 on Cjkjvfnby: There is function **has_magic** inside glob module :) |
Nov. 23, 2017, 1:43 p.m. |
+1 |
Experience for voted comment bryukh: 1 on Cjkjvfnby: There is function **has_magic** inside glob module :) |
Nov. 23, 2017, 1:43 p.m. |
+5 |
Experience for appreciated comment Gennady: 1 on Cjkjvfnby: It is possible implementation of that how sorted handle key argument. |
Nov. 23, 2017, 1:43 p.m. |
+1 |
Experience for voted comment Gennady: 1 on Cjkjvfnby: It is possible implementation of that how sorted handle key argument. |
Nov. 23, 2017, 1:43 p.m. |
+1 |
Experience for voted comment bryukh: 1 on Cjkjvfnby: There is a lot of simple solutions in clear category. I don't like all of them, because them check a... |
Nov. 23, 2017, 1:43 p.m. |
+5 |
Experience for appreciated comment thuvh: 1 on Cjkjvfnby: no need to cut '0b' # return bin(number)[2:].count('1') |
Nov. 23, 2017, 1:43 p.m. |
+1 |
Experience for voted comment thuvh: 1 on Cjkjvfnby: no need to cut '0b' # return bin(number)[2:].count('1') |