a[9],t,u,v,w;main(h,m,s){for(;gets(a);u=h*3600+m*60+s,v=u-t+54000,printf("%s\t%.8s\n",a,ctime(&v)+11),t=u)sscanf(a,"%d:%d:%d",&h,&m,&s);}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page