可见官方明白我们想要的题目
2024-10-21 21:35:58
发布于:安徽
79阅读
0回复
0点赞
.
全部评论 2
6
2024-10-26 来自 四川
1答案:
#include<iostream> using namespace std; int main(){ int t; cin>>t; if(t/3600<10){ cout<<"0"; } cout<<t/3600<<":"; if(t%3600/60<10){ cout<<"0"; } cout<<t%3600/60<<":"; if(t%3600%60<10){ cout<<"0"; } cout<<t%3600%60; }
2025-02-04 来自 浙江
0
有帮助,赞一个