算式问题

809 *QW =  BCDE;
 QW  [10, 9999/809]
  
 a ) b
     c = 8*a
       d = 9*a+1
       e = 9*a
  
    b = c*100 + d
int main(int argc, const char * argv[]) {
    int a,b,c,d,e;
    for (a = 10; a < 13; ++a) {
        c = 8*a;
        d = 9*a +1;
        e = 9*a; //a = 12  > 100
        b = c*100 +d;
        if (e > 100)
            cout <<a<<endl <<b<<endl <<c<<endl <<d<<endl <<e<<endl;
    }

    return 0;
}
posted @ 2019-12-25 13:39  0x8023  阅读(112)  评论(0编辑  收藏  举报