Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
1767 | 邓程允 | 05拆分时间 | C++ | Accepted | 0 MS | 216 KB | 239 | 2023-11-05 10:24:21 |
# include<cstdio> using namespace std; int main(){ int x,a,b,c; scanf("%d",&x); a=x/3600; b=(x-a*3600)/60; c=x-a*3600-b*60; printf("%d\n",a); printf("%d\n",b); printf("%d\n",c); return 0; }