编写要求:
n日内阳量大于阴量,并且阳量天数多于阴量天数.
公式在线网解答:
sun:=if(c>=o,v,0); rain:=if(c<o,v,0); sum(sun,n)>sum(rain,n) and count(c>=o,n)>count(c<o,n) and count(c>=o,n)>=M{参数N是n日内,参数M是阳量天数能自定最好,m要小于n}