#include<iostream>
#include<cmath>
#include<algorithm>
using namespace std;
const int CLK_TCK = 100;
int c1, c2;
int main()
{
scanf("%d%d", &c1, &c2);
int t = round((c2 - c1)*1.0 / CLK_TCK);
printf("%02d:%02d:%02d", t / 3600, t % 3600 / 60, t % 60);
return 0;
}
最后
以上就是活力溪流最近收集整理的关于1026 程序运行时间(15 分)的全部内容,更多相关1026内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复