3 条题解
- 1
信息
- ID
- 393
- 时间
- 1000ms
- 内存
- 16MiB
- 难度
- 1
- 标签
- 递交数
- 50
- 已通过
- 36
- 上传者
中于用python解出来了!!!!
a = [int(i) for i in input().split()]
n = a[0]
x = a[1]
y = a[2]
xi = n / x
yi = n / y
xi= int(xi)
yi = int(yi)
for i in range(xi):
for j in range(yi):
if i + j > 50 and i * x + y * j == n:
if i != 0 and j != 0:
print(i,j)