Go to diff to previous submission
#include <stdio.h> int main(){ int n,count,count2,i; int primes[]={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97}; if(n==1){ continue; } count=1; for(i=0;i<25;i++){ count2=0; while(n%primes[i]==0){ n/=primes[i]; count2++; } count*=2*count2+1; if(n==1) break; } if(n!=1) count*=3; count++; count/=2; } return 0; }
--- c5.s1024.cteam034.fl.c.0.fl.c +++ c5.s1031.cteam034.fl.c.0.fl.c @@ -10,5 +10,5 @@ } count=1; - for(i=0;i<15;i++){ + for(i=0;i<25;i++){ count2=0; while(n%primes[i]==0){