Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
91871 hby 05拆分时间 C++ Accepted 1 MS 272 KB 191 2024-09-22 20:33:18

Tests(10/10):


Code:

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