Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
47146 | 杨中琦 | 时分秒转换 | C++ | Accepted | 100 | 0 MS | 256 KB | 191 | 2022-07-14 11:52:02 |
#include<iostream> int main(){ int a,b,c,d; scanf("%d",&a); b=a/3600; a=a%3600; c=a/60; a=a%60; d=a; printf("%d:%d:%d",b,c,d); return 0; }