2、i=0;ib[j]){t=b[i];b[i]=b[j];b[j]=t;}}3voidjsVal(){inti,j,t,t1,t2,t3,t4;for(i=0;i=t3&&t3>=t2&&t2>=t1&&a[i]%2==1)b[cnt++]=a[i];}for(i=0;ib[j]){t=b[i];b[i]=b
3、[j];b[j]=t;}}4voidcountValue(){inti,j,t,t1,t2,t3,t4;for(i=1000;i<=5000;i++){t1=i%10;t2=i/10%10;t3=i/100%10;t4=i/1000%10;if(t4+t3==t2+t1&&t4+t3==(t1-t4)*10){cnt++;sum+=i;}}}5jsValue(){inti,j,t,t1,t2,t3,t4;for(i=0;i<300;i++){t1=a[i]%10;t2=a[i]/10%10;t3=a[i]/100%10;t4=a[i]/1000%10;if(t4+t3==t2+t1)b[cnt
4、++]=a[i];}for(i=0;i0){pjz1+=a[i];cnt++;}elsepjz2+=a[i];}pjz1/=cnt;pjz2/=300-cnt;}7voidjsVal(){inti,j,t,t1,t2,
5、t3,t4;for(i=0;i<200;i++){t1=a[i]%10;t2=a[i]/10%10;t3=a[i]/100%10;t4=a[i]/1000%10;if(t4-t3-t2-t1>=0&&a[i]%2==1)b[cnt++]=a[i];}for(i=0;ib[j]){t=b[i];b[i]=b[j];b[j]=t;}}8voidjsValue(){inti,j,t,t1,t2,t3,t4;for(i=0;i<300;i++){t1=a[i]%10;t2=a[i]/10%10;t3=a[i]/100%10;t4
6、=a[i]/1000%10;if(t4+t3==t2+t1){pjz1+=a[i];cnt++;}elsepjz2+=a[i];}pjz1/=cnt;pjz2/=300-cnt;}9voidjsValue(){inti,j,t,t1,t2,t3,t4;for(i=0;i<300;i++){t1=a[i]%10;t2=a[i]/10%10;t3=a[i]/100%10;t4=a[i]/1000%10;if(t4-t3-t2-t1>0)b[cnt++]=a[i];}for(i=0;ib[j]){t=b[i];b[i]=b[j
7、];b[j]=t;}}10voidjsValue(){inti,j,t,t1,t2,t3,t4;for(i=0;i<300;i++){t1=a[i]%10;t2=a[i]/10%10;t3=a[i]/100%10;t4=a[i]/1000%10;if(t4+t1==t3+t2)b[cnt++]=a[i];}for(i=0;i