1 条题解
-
0
#~我又双叒叕来了~ #>_< #Are you ready? #Let's have a Python3 trip today! num = int(input()) yibai = num // 100 wushi = (num - yibai * 100) // 50 ershi = (num - yibai * 100 - wushi * 50) // 20 shi = (num - yibai * 100 - wushi * 50 - ershi * 20) // 10 wu = (num - yibai * 100 - wushi * 50 - ershi * 20 - shi * 10) // 5 yi = (num - yibai * 100 - wushi * 50 - ershi * 20 - shi * 10 - wu * 5) // 1 print(yibai,wushi,ershi,shi,wu,yi,sep = '\n')
信息
- ID
- 33
- 时间
- 60ms
- 内存
- 10MiB
- 难度
- 4
- 标签
- 递交数
- 44
- 已通过
- 20
- 上传者