Time Arithmetic by kou

s[];main(u,t){char*l;for(;l=gets(s);strftime(l+2,l,"=%T",gmtime(&t)),puts(s))for(t=0;u=u/60?:3600,t+=atoi(l)*u,l[2];l+=3);}

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

download

return to the top page