Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
1768 邓小龙 05拆分时间 C++ Accepted 0 MS 268 KB 286 2023-11-05 10:28:55

Tests(10/10):


Code:

# include<iostream> using namespace std; int main(){ int x; cin>>x; int h,m,s; h=x/3600; //m=x/60-h*60; m=x/60%60;//对60取余数得到的值一定是<60的 //s=x-h*3600-m*60; s=x%60; cout<<h<<" "<<m<<" "<<s<<endl; return 0; }