Search found 1 match

by wetcat
Sun Jun 19, 2011 10:03 am
Forum: Volume 1 (100-199)
Topic: 160 - Factors and Factorials
Replies: 205
Views: 23768

160 getting WA

my output is right,but why i am getting WA???pls help me... int prime[25]={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}; int m,factor_counter[101]; int find_prime_factor(int a) { if(a==1) return 0; else if(a%prime[m]==0) { factor_counter[prime[m]]++; find_prime_factor(a/pr...

Go to advanced search