收起
for x in range n: for y in range n: for z in range n: if x+y+z==n and a*5+b*3+c/2==m: print(a,b,c,end=" ")
报告相同问题?