题解 | #时间转换#
时间转换
https://www.nowcoder.com/practice/c4ae7bcac7f9491b8be82ee516a94899
#include <stdio.h> int main() { int a; scanf("%d",&a); printf("%d %d %d",a/3600,a%3600/60,a%3600%60); }
c语言刷题 文章被收录于专栏
c语言刷题题目
时间转换
https://www.nowcoder.com/practice/c4ae7bcac7f9491b8be82ee516a94899
#include <stdio.h> int main() { int a; scanf("%d",&a); printf("%d %d %d",a/3600,a%3600/60,a%3600%60); }
c语言刷题题目
相关推荐