Cody

Solution 1937472

Submitted on 15 Sep 2019 at 16:40 by ChanXy
  • Size: 7
  • 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
n = 5; assert(isequal(is_it_really_a_5(n),1))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In is_it_really_a_5 (line 2) In ScoringEngineTestPoint1 (line 2) In solutionTest (line 3)]

2   Pass
n = 15; assert(isequal(is_it_really_a_5(n),0))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In is_it_really_a_5 (line 2) In ScoringEngineTestPoint2 (line 2) In solutionTest (line 5)]

3   Pass
n = 25; assert(isequal(is_it_really_a_5(n),1))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In is_it_really_a_5 (line 2) In ScoringEngineTestPoint3 (line 2) In solutionTest (line 7)]

4   Pass
n = 35; assert(isequal(is_it_really_a_5(n),1))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In is_it_really_a_5 (line 2) In ScoringEngineTestPoint4 (line 2) In solutionTest (line 9)]

5   Pass
n = 50; assert(isequal(is_it_really_a_5(n),0))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In is_it_really_a_5 (line 2) In ScoringEngineTestPoint5 (line 2) In solutionTest (line 11)]

6   Pass
n = 52; assert(isequal(is_it_really_a_5(n),0))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In is_it_really_a_5 (line 2) In ScoringEngineTestPoint6 (line 2) In solutionTest (line 13)]

7   Pass
n = 55; assert(isequal(is_it_really_a_5(n),1))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In is_it_really_a_5 (line 2) In ScoringEngineTestPoint7 (line 2) In solutionTest (line 15)]

8   Pass
n = 59; assert(isequal(is_it_really_a_5(n),0))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In is_it_really_a_5 (line 2) In ScoringEngineTestPoint8 (line 2) In solutionTest (line 17)]

9   Pass
n = 85; assert(isequal(is_it_really_a_5(n),1))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In is_it_really_a_5 (line 2) In ScoringEngineTestPoint9 (line 2) In solutionTest (line 19)]

10   Pass
n = 105; assert(isequal(is_it_really_a_5(n),1))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In is_it_really_a_5 (line 2) In ScoringEngineTestPoint10 (line 2) In solutionTest (line 21)]

11   Pass
n = 115; assert(isequal(is_it_really_a_5(n),0))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In is_it_really_a_5 (line 2) In ScoringEngineTestPoint11 (line 2) In solutionTest (line 23)]

12   Pass
n = 125; assert(isequal(is_it_really_a_5(n),1))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In is_it_really_a_5 (line 2) In ScoringEngineTestPoint12 (line 2) In solutionTest (line 25)]

13   Pass
n = 250; assert(isequal(is_it_really_a_5(n),0))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In is_it_really_a_5 (line 2) In ScoringEngineTestPoint13 (line 2) In solutionTest (line 27)]

14   Pass
n = 500; assert(isequal(is_it_really_a_5(n),1))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In is_it_really_a_5 (line 2) In ScoringEngineTestPoint14 (line 2) In solutionTest (line 29)]

15   Pass
n = 555; assert(isequal(is_it_really_a_5(n),1))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In is_it_really_a_5 (line 2) In ScoringEngineTestPoint15 (line 2) In solutionTest (line 31)]

16   Pass
n = 5000; %5,000 assert(isequal(is_it_really_a_5(n),1))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In is_it_really_a_5 (line 2) In ScoringEngineTestPoint16 (line 2) In solutionTest (line 33)]

17   Pass
n = 15000; %15,000 assert(isequal(is_it_really_a_5(n),0))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In is_it_really_a_5 (line 2) In ScoringEngineTestPoint17 (line 2) In solutionTest (line 35)]

18   Pass
n = 55555; %55,555 assert(isequal(is_it_really_a_5(n),1))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In is_it_really_a_5 (line 2) In ScoringEngineTestPoint18 (line 2) In solutionTest (line 37)]

19   Pass
n = 50000; %50,000 assert(isequal(is_it_really_a_5(n),0))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In is_it_really_a_5 (line 2) In ScoringEngineTestPoint19 (line 2) In solutionTest (line 39)]

20   Pass
n = 55000; %55,000 assert(isequal(is_it_really_a_5(n),1))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In is_it_really_a_5 (line 2) In ScoringEngineTestPoint20 (line 2) In solutionTest (line 41)]

21   Pass
n = 50500; %50,500 assert(isequal(is_it_really_a_5(n),1))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In is_it_really_a_5 (line 2) In ScoringEngineTestPoint21 (line 2) In solutionTest (line 43)]

22   Pass
n = 50050; %50,050 assert(isequal(is_it_really_a_5(n),0))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In is_it_really_a_5 (line 2) In ScoringEngineTestPoint22 (line 2) In solutionTest (line 45)]

23   Pass
n = 50005; %50,005 assert(isequal(is_it_really_a_5(n),1))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In is_it_really_a_5 (line 2) In ScoringEngineTestPoint23 (line 2) In solutionTest (line 47)]

24   Pass
n = 500000; %500,000 assert(isequal(is_it_really_a_5(n),1))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In is_it_really_a_5 (line 2) In ScoringEngineTestPoint24 (line 2) In solutionTest (line 49)]

25   Pass
n = 5000000; %5,000,000 assert(isequal(is_it_really_a_5(n),1))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In is_it_really_a_5 (line 2) In ScoringEngineTestPoint25 (line 2) In solutionTest (line 51)]

26   Pass
n = 15000000; %15,000,000 assert(isequal(is_it_really_a_5(n),0))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In is_it_really_a_5 (line 2) In ScoringEngineTestPoint26 (line 2) In solutionTest (line 53)]

27   Pass
n = 50000000; %50,000,000 assert(isequal(is_it_really_a_5(n),0))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In is_it_really_a_5 (line 2) In ScoringEngineTestPoint27 (line 2) In solutionTest (line 55)]

28   Pass
n = 105000000; %105,000,000 assert(isequal(is_it_really_a_5(n),1))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In is_it_really_a_5 (line 2) In ScoringEngineTestPoint28 (line 2) In solutionTest (line 57)]

29   Pass
n = 50050050; %50,050,050 assert(isequal(is_it_really_a_5(n),0))

30   Pass
n = 50000005; %50,000,005 assert(isequal(is_it_really_a_5(n),1))

31   Pass
n = 50000015; %50,000,015 assert(isequal(is_it_really_a_5(n),0))

32   Pass
n = 500000000; %500,000,000 assert(isequal(is_it_really_a_5(n),1))

33   Pass
n = 5000000000; %5,000,000,000 assert(isequal(is_it_really_a_5(n),1))

34   Pass
n = 50000000000; %50,000,000,000 assert(isequal(is_it_really_a_5(n),0))