提交时间:2019-10-20 19:17:08
运行 ID: 1780
#include<stdio.h> void trans(int sec){ int hour,min; hour=sec/3600; min=(sec%3600)/60; sec=(sec%3600)%60; printf("%d:%d:%d\n",hour,min,sec); } int main(){ int sec; scanf("%d",&sec); trans(sec); return 0; }