Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
101454 | 向睿杰 | 05拆分时间 | C++ | Wrong Answer | 1 MS | 268 KB | 229 | 2024-12-15 12:37:13 |
#include<iostream> #include<cstdio> using namespace std; int main(){ int n,h,m,s; cin>>n; h=n/3600; m=(n-h*3600)/60; s=n%60; cout<<h<<"小时"<<m<<"分钟"<<s<<"秒"; return 0; }
------Input------
602
------Answer-----
0 10 2
------Your output-----
0小时10分钟2秒