标签:nbsp erro put input mat int col bsp range
a,b = map(int,input().split(‘ ‘)) if(a > 0 and b >0 and b % 2 == 0 and b-2*a>0): for x in range(1,a+1): y=a-x if 2*x+4*y==b: print("{} {}". format(x,y)) else: print("Data Error!")
标签:nbsp erro put input mat int col bsp range
原文地址:https://www.cnblogs.com/670ling/p/12589982.html