题解 | #时间转换#
时间转换
https://www.nowcoder.com/practice/c4ae7bcac7f9491b8be82ee516a94899
#include<stdio.h> int main() { int input = 0; scanf("%d",&input); int hour = input/60/60; int minute = (input / 60) ; int seconds = input - hour*60*60 - (minute -60*hour)*60; printf("%d %d %d",hour,minute-60*hour,seconds); return 0; }#暴力破解#