题解 | #时间转换#
时间转换
http://www.nowcoder.com/practice/c4ae7bcac7f9491b8be82ee516a94899
#include <stdio.h>
int main() { long sconds = 0l;
scanf("%ld", &sconds);
printf("%d ", (sconds / 60) / 60);
printf("%d ", (sconds / 60) % 60);
printf("%d", sconds % 60);
return 0;
}