#include<stdio.h>
int main()
{
int a,b,zong,shi,fen;
scanf("%d %d",&a,&b);
zong=a/100*60+a%100+b;
shi=zong/60;
fen=zong%60;
if(fen<=9)
printf("%d0%d",shi,fen);
else
printf("%d%d",shi,fen);
return 0;
}
pta 7-1 然后是几点
最新推荐文章于 2024-08-10 22:58:42 发布