如题所述
三位数数列:100.110.111.…998.999其中每一项至少有两位数码相同,编程...t+=(x[i]<y[i]?x[i]:y[i]);return t>1;} int main(){ int i,j,s=100;printf("100");for(i=100; ; i=j){ for(j=i+1; !yes(i,j); j++);if(j>999)break;s+=j;printf("+%d",j);} printf("\\n=%d\\n",s);return 0;} ...