Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
5101 老师 时分秒转换 C++ 通过 100 0 MS 256 KB 179 2020-07-27 16:38:37

Tests(2/2):


#include<bits/stdc++.h> using namespace std; int main(){ int n,h,m,s; cin>>n; h=n/3600; n-=3600*h; m=n/60; n-=60*m; s=n; printf("%d:%d:%d",h,m,s); return 0; }


测评信息: