数花生?一堆花生2个数余1,3个数余2,5个数余4,6个数余5,7个数刚好,求三位数。
int a=111; while(a<=999)if(a%2==1&&a%3==2&&a%5==4&&a%6==5&&a%7==0)cout<<a++<<ends;else ++a;