Search found 1 match

by kanone
Fri Jan 20, 2012 9:27 am
Forum: Volume 120 (12000-12099)
Topic: 12005 - Find Solutions
Replies: 9
Views: 4660

Re: 12005 - Find Solutions

i find all the prime till limit = sqrt(4N-3)
for(i=0;i<1270608 && prime<=limit;i++){
if(prime>N) break;
count=0;
while(N%prime==0){
count++;
N/=prime;
}
ans*=(count+1);
}
but it got TLE : (
plz help me : (

Go to advanced search