先算小时数 ,再加上分钟数(有可能是负数)。
a,b,c,d=int(input()),int(input()),int(input()),int(input()) print((c-a)*60+(d-b))
暂无评论