Cody

Solution 1134376

Submitted on 6 Mar 2017 by Tyler Johnson
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(ncircles(50237),1))

b = 5 0 2 3 7

2   Pass
assert(isequal(ncircles(56774),1))

b = 5 6 7 7 4

3   Pass
assert(isequal(ncircles(18828),6))

b = 1 8 8 2 8

4   Pass
assert(isequal(ncircles(32420),1))

b = 3 2 4 2 0

5   Pass
assert(isequal(ncircles(71604),2))

b = 7 1 6 0 4

6   Pass
assert(isequal(ncircles(55293),1))

b = 5 5 2 9 3

7   Pass
assert(isequal(ncircles(14229),1))

b = 1 4 2 2 9

8   Pass
assert(isequal(ncircles(38037),3))

b = 3 8 0 3 7

9   Pass
assert(isequal(ncircles(39657),2))

b = 3 9 6 5 7

10   Pass
assert(isequal(ncircles(57675),1))

b = 5 7 6 7 5

11   Pass
assert(isequal(ncircles(1941),1))

b = 1 9 4 1

12   Pass
assert(isequal(ncircles(57759),1))

b = 5 7 7 5 9

13   Pass
assert(isequal(ncircles(93220),2))

b = 9 3 2 2 0

14   Pass
assert(isequal(ncircles(10688),6))

b = 1 0 6 8 8

15   Pass
assert(isequal(ncircles(73215),0))

b = 7 3 2 1 5

16   Pass
assert(isequal(ncircles(97053),2))

b = 9 7 0 5 3

17   Pass
assert(isequal(ncircles(60889),7))

b = 6 0 8 8 9

18   Pass
assert(isequal(ncircles(71967),2))

b = 7 1 9 6 7

19   Pass
assert(isequal(ncircles(30276),2))

b = 3 0 2 7 6

20   Pass
assert(isequal(ncircles(45903),2))

b = 4 5 9 0 3

21   Pass
assert(isequal(ncircles(4803),3))

b = 4 8 0 3

22   Pass
assert(isequal(ncircles(38536),3))

b = 3 8 5 3 6

23   Pass
assert(isequal(ncircles(36172),1))

b = 3 6 1 7 2

24   Pass
assert(isequal(ncircles(28759),3))

b = 2 8 7 5 9

25   Pass
assert(isequal(ncircles(81672),3))

b = 8 1 6 7 2

26   Pass
assert(isequal(ncircles(45053),1))

b = 4 5 0 5 3

27   Pass
assert(isequal(ncircles(80664),5))

b = 8 0 6 6 4

28   Pass
assert(isequal(ncircles(79018),4))

b = 7 9 0 1 8

29   Pass
assert(isequal(ncircles(28296),4))

b = 2 8 2 9 6

30   Pass
assert(isequal(ncircles(6831),3))

b = 6 8 3 1

31   Pass
assert(isequal(ncircles(5494),1))

b = 5 4 9 4

32   Pass
assert(isequal(ncircles(63753),1))

b = 6 3 7 5 3

33   Pass
assert(isequal(ncircles(42429),1))

b = 4 2 4 2 9

34   Pass
assert(isequal(ncircles(90554),2))

b = 9 0 5 5 4

35   Pass
assert(isequal(ncircles(41733),0))

b = 4 1 7 3 3

36   Pass
assert(isequal(ncircles(15406),2))

b = 1 5 4 0 6

37   Pass
assert(isequal(ncircles(54000),3))

b = 5 4 0 0 0

38   Pass
assert(isequal(ncircles(93710),2))

b = 9 3 7 1 0

39   Pass
assert(isequal(ncircles(66096),5))

b = 6 6 0 9 6

40   Pass
assert(isequal(ncircles(39466),3))

b = 3 9 4 6 6

41   Pass
assert(isequal(ncircles(25900),3))

b = 2 5 9 0 0

42   Pass
assert(isequal(ncircles(84792),3))

b = 8 4 7 9 2

43   Pass
assert(isequal(ncircles(94506),3))

b = 9 4 5 0 6

44   Pass
assert(isequal(ncircles(37700),2))

b = 3 7 7 0 0

45   Pass
assert(isequal(ncircles(6729),2))

b = 6 7 2 9

46   Pass
assert(isequal(ncircles(18159),3))

b = 1 8 1 5 9

47   Pass
assert(isequal(ncircles(57575),0))

b = 5 7 5 7 5

48   Pass
assert(isequal(ncircles(18589),5))

b = 1 8 5 8 9

49   Pass
assert(isequal(ncircles(29145),1))

b = 2 9 1 4 5

50   Pass
assert(isequal(ncircles(46167),2))

b = 4 6 1 6 7