注意:此页面搜索的是所有试题

int fun(int m, int n) {


int c=0;


static int b=2;


if(m<b || n<b) return m*n;


else if(m%b==0 && n%b==0) {c=b; return c*fun(m/b,n/b);}


else {b++; return fun(m,n);}


}

参考答案