Cody

Solution 1721036

Submitted on 5 Feb 2019 by Mu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
N = 1000; y_correct = 0; assert(isequal(grandPrimeCounter(N),y_correct))

2   Pass
N = 1234; y_correct = 13; assert(isequal(grandPrimeCounter(N),y_correct))

3   Pass
N = 12345; y_correct = 280; assert(isequal(grandPrimeCounter(N),y_correct))

4   Pass
N = 123456; y_correct = 1925; assert(isequal(grandPrimeCounter(N),y_correct))

5   Pass
N = 1234567; y_correct = 13142; assert(isequal(grandPrimeCounter(N),y_correct))

6   Pass
N = 99999900; y_correct = 586509; assert(isequal(grandPrimeCounter(N),y_correct))