Time Arithmetic by ush

t;T;i;main(c){for(;read(0,&c,1);putchar(c))t=++i%3?t*(2+i%3*4)+c%16:i%9?t:(T+=t,T*=c%5||!printf("=%02d:%02d:%02d",T/3600%24,T/60%60,T%60),0);}

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

download

return to the top page