m,s;main(h,t){for(;~scanf(t="%02d:%02d:%02d\n",&h,&m,&s);)printf(t-!m,23-h,60-m,s?m++,60-s:0);}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page