题解 | #时间转换#
时间转换
http://www.nowcoder.com/practice/c4ae7bcac7f9491b8be82ee516a94899
int main()
{
int h=0;
int m=0;
int s=0;
int num=0;
scanf("%d",&num);
h=num/60/60;
m=num/60%60;
s=num%60;
printf("%d %d %d",h,m,s);
return 0;
}