2012-01-24から1日間の記事一覧

Sum of Primes

最初の素数1000個の和っていくつ? 設問 Description:Write a program to determine the sum of the first 1000 prime numbers. Input sample: NoneOutput sample:Your program should print the sum on stdout.i.e. 3682913 やってみた が、sum_of_primeが…