Problem 1119. sum of non-primes

Created by li jian in Community

The sum of the non-primes no larger than 10 is 1+4+6+8+9+10=38

Find the sum of all the positive non-prime integers that do not exceed the input, N.

Solution Stats

60.2% Correct | 39.8% Incorrect
Last solution submitted on Jul 10, 2019

Problem Comments

Recent Solvers256

Suggested Problems