Time Arithmetic by clock

System.in.eachLine{t=54000
6.times{x->t+=60**(2-x%3)*it[x*=3,x+1].toLong()}println it+new Date(t*1000).format("=HH:mm:ss")}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page