A simple Problem

View previous topic View next topic Go down

A simple Problem

Post by BIT0112-Rokon on Wed Jan 20, 2010 8:47 am


Problem: The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below two million.

I have tried to solve this problem, even solved.  But I suppose, my solution is not efficient enough. Is there any volunteer who can solve it efficiently? 

Btw this problem is from Project Euler


_________________________________________________________________


Code Explosion Blog | Code Explosion Wiki | The Rokonoid | নির্ঝরিণী
avatar
BIT0112-Rokon
Programmer
Programmer

Course(s) :
  • BIT

Blood Group : O+
Posts : 673
Points : 1269

View user profile http://blog.codexplo.org

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum