怎么找因子捏?
for(int i=1/*1 is beginning*/;i*i<=a;i++)
{
if(i*i==a)/*if 'i' is exactly sqrt(a)*/
{
if(i&1/*is odd number*/) xxxxxx;
}
else if(a%i==0)
{
if(i&1) xxxxxx;
if((a/i)&1) xxxxxx;/*don't forget your significant other*/
}
}