Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Broken code solution in Creative category for Broken Clock by veky
def broken_clock(*d,t=lambda a,u:int(a)*60**"smh".index(u)):
r=[t(*g.split())for g in __import__("re").findall(r"\d+ [smh]",d[2])]
if d[2][0]=="-":r[0]*=-1
return":".join(format(sum(sum(map(t,f.split(":"),"hms"))*h
for f,h in zip(d,r))//sum(r)//60**i%60,"02")for i in(2,1,0))
Feb. 22, 2015
Comments: