#include<bits/stdc++.h> using namespace std; typedef long long ll; int main() { ll time,h,m,s; scanf("%lld",&time); time/=1000; s=time%60; time/=60; m=time%60; time/=60; h=time%24; printf("%02lld:%02lld:%02lld\n",h,m,s); return 0; }
By signing up a 追梦算法网 universal account, you can submit code and join discussions in all online judging services provided by us.
Using your 追梦算法网 universal account