#include <stdio.h>
void main()
{
int Allsec;
int sec;
int min;
int hour;
int day;
scanf("%d",&Allsec);
sec=Allsec%60;
min=Allsec/60%60;
hour=Allsec/3600%24;
day=Allsec/3600/24;
printf("%3d:%2d:%2d:%2d",day,hour,min,sec);
}
华为机式题
最新推荐文章于 2023-04-11 23:15:29 发布