include<stdio.h>main(){int t,th,tm,ts;while(1){ scanf("%d",&t); th=t/3600; tm=(t-th*3600)/60; ts=t-th*3600-tm*60; printf("%02d:%02d:%02d\n",th,tm,ts);}}如图所示,望采纳。。。