Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
162753 胡栋文 05拆分时间 C++ Accepted 2 MS 272 KB 232 2026-10-18 19:20:32

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,d; cin>>a; b = a / 3600; c = (a - b * 3600) / 60; d = a - b * 3600 - c * 60; cout<<b<<" "<<c<<" "<<d<<endl; return 0; }