题解 | #时间转换#
时间转换
https://www.nowcoder.com/practice/c4ae7bcac7f9491b8be82ee516a94899
#include <stdio.h> int main() { int man,kobe,laker,helecopter; scanf("%d",&man); kobe=man/3600; laker=(man-kobe*3600)/60; helecopter=man-kobe*3600-laker*60; printf("%d %d %d",kobe,laker,helecopter); return 0; }