标签:++ ons amp const scanf code print 程序 程序运行时间
#include<cstdio>
#include<stdlib.h>
const int CLK_TCK=100;
int main(){
int C1,C2;
scanf("%d%d",&C1,&C2);
int shi,fen,chamiao=(C2-C1)/100;
shi=chamiao/3600;
chamiao%=3600;
fen=chamiao/60;
chamiao=chamiao%60;
if((C2-C1)%100>=50)chamiao++;
printf("%02d:%02d:%02d",shi,fen,chamiao);
return 0;
}
标签:++ ons amp const scanf code print 程序 程序运行时间
原文地址:https://www.cnblogs.com/hebust/p/9498078.html