请加$LaTeX$
by zgy_123 @ 2022-12-13 10:06:58
希望更丰富的展现?使用 [Markdown](https://www.luogu.com.cn/blog/luogu/how-to-use-markdown)。
by new_coder @ 2022-12-13 10:07:45
@[Gavin2011](/user/577628) 看着好难受,为什么不写
$\text{LaTeX}$ 或 $\texttt{LaTeX}$ 或者 $\LaTeX$
qwq
by AC_CSP @ 2022-12-13 10:17:02
```python
a,b=map(int,input().split())
if(a%b==0):
c=int(a/b)+10
else:
c=int(a/b)+11
if(c>480):
t=24*60-(c-480)
h=t%60
h1=int(t/60)
else:
t=480-c
h=t%60
h1=int(t/60)
if(h1>10):
if(h>10):
print(str(h1)+':'+str(h))
else:
print(str(h1)+':'+'0'+str(h))
else:
if(h>10):
print('0'+str(h1)+':'+str(h))
else:
print('0'+str(h1)+':'+'0'+str(h))
```
by F_Suzichen @ 2022-12-13 10:42:43
hack数据: `100 1`
期望输出: `06:10`
实际输出: `06:010`
解决方法:`h>10`全部改成`h>=10`,否则`10`会补一个零挂掉
by cup11 @ 2023-01-23 11:40:26