资源限制
内存限制:256.0MB C/C++时间限制:1.0s Java时间限制:3.0s Python时间限制:5.0s
#include<bits/stdc++.h>
#define int long long
using namespace std;
const int N = 1e5+10;
int n,m,t,d;
int a[2][N],b[N];
//string s;
signed main(){
cin>>n;
m = 365*24*60*60*1000;
int h,m,s;
h = n/(60*60*1000)%24;
if(h<10)cout<<"0"<<h<<":";
else cout<<h<<":";
n=n%(60*60*1000);
m = n/(60*1000);
if(m<10)cout<<"0"<<m<<":";
else cout<<m<<":";
n=n%(60*1000);
s = n/(1000);
if(s<10)cout<<"0"<<s<<endl;
else cout<<s<<endl;
return 0;
}