#include <iostream> #include <cmath> #include <vector> ...
C++ Optimizing another Project ...
by blue-protoman.myopenid.com,
November 26, 2011 12:23,
6 refactorings, tagged with Prime Numbers, project_euler
#/usr/bin/env python __author__ = 'Luiz Augusto de M. Morais' ...
Python isprime
by https://profiles.google.com/luizaugustomm,
April 13, 2011 19:22,
3 refactorings, tagged with python, Prime, Prime Numbers
This code contains a functi...
def primes(n):
s=[1,]+range(4,n+1,2)+range(6,n+1,3)+range(10,n+1,5)+range(14,n+1,7)
for x in (2,3,5,7):
...
Python Sieve of Eratosthenes
I've purposely avoided look...
#include <iostream.h> #include <stdlib.h> #include <math.h> ...
C++ Prime or Not
This is a simple program to...
-module(prime). -export([main/0, print_if_prime/0]). ...
Erlang Experimental Prime Number G...
The is the results of an ex...
Hello! I'm trying to yet a...