提交时间:2019-10-14 19:46:56

运行 ID: 1610

#include <iostream> #include <string> using namespace std; int main() { int s; cin>>s; int hour,minute,second; hour=s/(60*60); minute=(s-hour*60*60)/60; second=s-hour*60*60-minute*60; cout<<hour<<":"<<minute<<":"<<second<<endl; }