一道经典的数学题: s=int(input()) if(s==1): print(“No”) elif(s==2): print(“No”) elif(s%2==0&s!=2): print(“Yes”) print(“0 0”) print(“2 0”) print(“1 %d”%(s//2)) elif(s%2!=0&s!=1): print(“Yes”) print(“0 1”) print(“1 0”) print(“%d”%((s+1)//2),end=’ ‘) print(“%d”%((s+1)//2))
一道经典的数学题:
s=int(input())
if(s==1):
print(“No”)
elif(s==2):
print(“No”)
elif(s%2==0&s!=2):
print(“Yes”)
print(“0 0”)
print(“2 0”)
print(“1 %d”%(s//2))
elif(s%2!=0&s!=1):
print(“Yes”)
print(“0 1”)
print(“1 0”)
print(“%d”%((s+1)//2),end=’ ‘)
print(“%d”%((s+1)//2))