#include <stdio.h>
int main()
{
int t, p;
int s, x;
scanf("%d %d", &t, &p);
x = (t / 100) * 60 + t % 100;
s = (x + p) / 60 * 100 + (x + p) % 60;
printf("%d", s);
}
基础编程题目集 7-2 然后是几点 (15分)
最新推荐文章于 2023-10-09 11:12:56 发布