Cody

Solution 2017814

Submitted on 13 Nov 2019 at 14:54 by Atsushi Ueno
  • Size: 10
  • This is the leading solution.
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
assert(isequal(isPrime(2),true))

2   Pass
assert(isequal(isPrime(1),false))

3   Pass
assert(isequal(isPrime(3),true))

4   Pass
assert(isequal(isPrime(11),true))

5   Pass
assert(isequal(isPrime(97),true))

6   Pass
assert(isequal(isPrime(199),true))

7   Pass
assert(isequal(isPrime(65),false))

8   Pass
assert(isequal(isPrime(93),false))

9   Pass
assert(isequal(isPrime(77),false))