23
ArchTauruS
5 21 41
3032/ 3195
Last seen 1 year ago
Member for 10 years, 8 months, 24 days
Difficulty Normal
I love coding!

Best reviews / Newest reviews
Clearly-gyahun_dash 5 1
real love needs no reason, hehe More
Math-bryukh 2
if sum((a,b,c)) <= max(a,b,c)*2 return [0,0,0] More
camelCase-bryukh 1
I have done it too. Have a look at my code, hehe. More
regexp-knezi 1 1
your regx has bug, it will match 'hahaha 123abc def ghi' More
4th-gyahun_dash 1 3
your regex mathces '123abc def ghi' More
First-Sim0000 1 1
Please tell me when len(array) == -1 ? More
1.88400006294e-06s per call-ArchTauruS 1
ord() is fater than "abcdefgh".index(). "12345678".index() is double faster than int(). More
basic math-nakanohito_piyo 1 1
Why not have a try with datetime module ? More
__-Cjkjvfnby 1
this is mine, easier? import re def translate(text): text = re.sub('(?P[bcdfghjklmnpqrstvwxz])[aeiouy]', '\g', text) text = re.sub('(?P[aeiouy]){3}', '\g', text) return text More
Oneliner-nicuveo
def checkio(a): return sum(a[::2]) * a[-1] if a else 0 More
First-bukebuer 1
Am Iright? I short it like this: def checkio(*args): return max(args)-min(args) if args else 0 More
Ugly-Kerulen 1
any difference of lines = list(['']) with lines = [''] ? More
First-panaro32 1
def checkio(data): (x1,y1),(x2,y2),(x3,y3) = eval(data) a = 1.* ((x1**2-x2**2+y1**2-y2**2)*(y1-y3)-(x1**2-x3**2+y1**2-y3**2)*(y1-y2)) / (2*(y1-y3)*(x1-x2)-2*(y1-y2)*(x1-x3)) b = 1.* ((x1**2-x2**2+y1**2-y2**2)*(x1-x3)-(x1**2-x3**2+y1**2-y3**2)*(x1-x2)) / (2*(y1-y2)*(x1- More
First-Jiyoqisv
This is cheating :) if orig == ' a' or orig == 'b ' or orig == ' c ': text[0] = orig elif orig == ' c ': text[0] = ' c ' More
Functional-PositronicLlama
map(list, zip(*matr)) is already a list :) no need to list() it More
Math-bryukh 1
import math def checkio(a, b, c): angle=lambda a,b,c:int(round((math.degrees(math.acos((b*b+c*c-a*a)/2./b/c))))) return [0,0,0] if sum((a,b,c)) <= max(a,b,c)*2 else sorted([angle(a,b,c),angle(b,a,c),angle(c,a,b)]) More
Finite-veky 1
finite solution, infinite originality More
Just BFS-Yoha
works! but readability is not good to me. More
First-morig
forget to remove "return 1 or 0" More
Clear that you do have to have a look ;)-ArchTauruS
I think this is a very basic anwser :) More
1
2