import math a,b=map(int,input().split()) t=a/b h=8-math.ceil(t/60) #向上取整 s=50-math.ceil(t%60) if len(str(s))==1: s="0"+str(s) print(str(h)+":"+str(s))
样例对的,自己搞了个补0的也是对的,过不了
HELP ME PLS!