Search found 1 match

by marino334
Sat Apr 11, 2009 5:34 am
Forum: Volume 107 (10700-10799)
Topic: 10789 - Prime Frequency
Replies: 38
Views: 27561

Re: 10789 - Prime Frequency

Can anyone help me finding my mistake?

I have tried all sample inputs for this problem available for this topic and my program still gets WA

here is the code:



#include <iostream>
#include <cstdlib>

using namespace std;

int sieve[304] = {2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,
53,59,61,67 ...

Go to advanced search