5 条题解
-
1240735zj赵拙言 (赵拙言) LV 7 @ 2024-07-29 10:16:46
#include<iostream>
#include<cmath>
#include<iomanip>
using namespace std;
int main()
{int h,m,s;
cin>>s;
h=s/3600;
m=(s-h*3600)/60;
s=s-h*3600-m*60;
cout<<h<<":"<<m<<":"<<s;
return 0;
} -
-12021-11-21 21:16:55@
#include <iostream>
using namespace std;
int main()
{
int s;
cin>>s;
cout<<s/3600;
cout<<':';
cout<<(s-s/3600*3600)/60;
cout<<':';
cout<<s-(s/3600*3600)-((s-s/3600*3600)/60)*60;
return 0;
} -
-12021-10-21 12:06:22@
#include<iostream>
#include<cmath>
#include<iomanip>
using namespace std;
int main()
{
int h,m,s;
cin>>s;
h=s/3600;
m=(s-h*3600)/60;
s=s-h*3600-m*60;
cout<<h<<":"<<m<<":"<<s;
return 0;
} -
-22021-11-05 16:22:48@
#include<iostream>
#include<cmath>
#include<iomanip>
using namespace std;
int main()
{int h,m,s;
cin>>s;
1<=s<=86400;
h=s/3600;
m=(s-h*3600)/60;
s=s-h*3600-m*60;
cout<<h<<":"<<m<<":"<<s;
return 0;return 0;
} -
-22021-10-31 20:39:27@
#include<iostream>
using namespace std;
int main( )
{
int h,m,s;
cin>>s;
h=s/3600;
m=(s-h*3600)/60;
s=s-h*3600-m*60;
cout<<h<<":"<<m<<":"<<s;
return 0;
}
- 1
信息
- ID
- 1691
- 难度
- 1
- 分类
- (无)
- 标签
- 递交数
- 294
- 已通过
- 187
- 通过率
- 64%
- 被复制
- 6
- 上传者