Cody

Problem 322. Number of Circles in a Number

Solution 3669228

Submitted on 15 Nov 2020
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   Fail
assert(isequal(ncircles(50237),1))

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 3 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

Suggested Problems

More from this Author56

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!