题解 | #时间转换#
时间转换
https://www.nowcoder.com/practice/c4ae7bcac7f9491b8be82ee516a94899
#include<stdio.h> int main() { int second=0; scanf("%d",&second); int hours=second/3600; int minutes=(second%3600)/60; int seconds=(second%3600)%60; printf("%d %d %d\n",hours,minutes,seconds); return 0; }