MAX1:=MAX(C,1);
MAX2:=MAX(C,2);
MAX3:=MAX(C,3);
MAX4:=MAX(C,4);
MAX5:=MAX(C,5);
车:=COUNT(MAX1=REF(MAX1,1),3)>=3 AND C<=MAX1 AND C*1.02>=MAX1 AND C>=O*1.02;
马:=COUNT(MAX2=REF(MAX2,1),3)>=3 AND C<=MAX2 AND C*1.02>=MAX2 AND C>=O*1.02;
将:=COUNT(MAX3=REF(MAX3,1),3)>=3 AND C<=MAX3 AND C*1.02>=MAX3 AND C>=O*1.02;
士:=COUNT(MAX4=REF(MAX4,1),3)>=3 AND C<=MAX4 AND C*1.02>=MAX4 AND C>=O*1.02;
卒:=COUNT(MAX5=REF(MAX5,1),3)>=3 AND C<=MAX5 AND C*1.02>=MAX5 AND C>=O*1.02;
:车 OR 马 OR 将 OR 士 OR 卒;