提交时间:2022-07-14 11:30:12

运行 ID: 47117

#include <iostream> using namespace std; int main() { int n,s,f,m; cin>>n; s=n/3600; m=n%3600; f=m/60; m=m%60; cout<<s<<":"<<f<<":"<<m; return 0; }