Consider this code
[c]
for(i=3;i<=sqrt(j);i+=2){
if(num%i==0){num/=i;printf("%i ",i);i-=2;}
}
[/c]
with this one:
[c]
for(i=3;i<=sqrt(j);i+=2){
while(num%i==0){num/=i;printf("%i ",i);}
}
[/c]
Those two are the part of my 583 - Prime Factor code.
With the first code AC in 4,......
But with the second, AC in 9,7........... (That's too close, baby)
Anybody know what could've caused this?

