Cody

Solution 473130

Submitted on 15 Jul 2014 by Abdullah Caliskan
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))

m = 50237 ans = 1

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

m = 56774 ans = 1

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

m = 18828 ans = 6

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

m = 32420 ans = 1

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

m = 71604 ans = 2

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

m = 55293 ans = 1

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

m = 14229 ans = 1

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

m = 38037 ans = 3

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

m = 39657 ans = 2

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

m = 57675 ans = 1

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

m = 1941 ans = 1

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

m = 57759 ans = 1

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

m = 93220 ans = 2

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

m = 10688 ans = 6

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

m = 73215 ans = 0

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

m = 97053 ans = 2

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

m = 60889 ans = 7

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

m = 71967 ans = 2

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

m = 30276 ans = 2

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

m = 45903 ans = 2

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

m = 4803 ans = 3

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

m = 38536 ans = 3

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

m = 36172 ans = 1

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

m = 28759 ans = 3

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

m = 81672 ans = 3

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

m = 45053 ans = 1

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

m = 80664 ans = 5

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

m = 79018 ans = 4

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

m = 28296 ans = 4

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

m = 6831 ans = 3

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

m = 5494 ans = 1

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

m = 63753 ans = 1

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

m = 42429 ans = 1

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

m = 90554 ans = 2

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

m = 41733 ans = 0

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

m = 15406 ans = 2

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

m = 54000 ans = 3

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

m = 93710 ans = 2

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

m = 66096 ans = 5

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

m = 39466 ans = 3

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

m = 25900 ans = 3

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

m = 84792 ans = 3

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

m = 94506 ans = 3

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

m = 37700 ans = 2

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

m = 6729 ans = 2

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

m = 18159 ans = 3

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

m = 57575 ans = 0

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

m = 18589 ans = 5

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

m = 29145 ans = 1

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

m = 46167 ans = 2