Cody

Solution 1305491

Submitted on 20 Oct 2017 by Gökhan Ayar
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))

tf = logical 0 xs = '005' t = '005' tf = logical 1

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

tf = logical 0 xs = '015' t = '015'

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

tf = logical 0 xs = '025' t = '025' tf = logical 1

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

tf = logical 0 xs = '035' t = '035' tf = logical 1

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

tf = logical 0 xs = '050' t = '050'

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

tf = logical 0 xs = '052' t = '052'

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

tf = logical 0 xs = '055' t = '055' tf = logical 1

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

tf = logical 0 xs = '059' t = '059'

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

tf = logical 0 xs = '085' t = '085' tf = logical 1

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

tf = logical 0 xs = '105' t = '105' tf = logical 1

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

tf = logical 0 xs = '115' t = '115'

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

tf = logical 0 xs = '125' t = '125' tf = logical 1

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

tf = logical 0 xs = '250' t = '250'

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

tf = logical 0 xs = '500' t = '500' tf = logical 1

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

tf = logical 0 xs = '555' t = '555' tf = logical 1

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

tf = logical 0 xs = '005000' t = '005' tf = logical 1 t = '000'

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

tf = logical 0 xs = '015000' t = '015' t = '000'

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

tf = logical 0 xs = '055555' t = '055' tf = logical 1 t = '555' tf = logical 1

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

tf = logical 0 xs = '050000' t = '050' t = '000'

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

tf = logical 0 xs = '055000' t = '055' tf = logical 1 t = '000'

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

tf = logical 0 xs = '050500' t = '050' t = '500' tf = logical 1

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

tf = logical 0 xs = '050050' t = '050' t = '050'

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

tf = logical 0 xs = '050005' t = '050' t = '005' tf = logical 1

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

tf = logical 0 xs = '500000' t = '500' tf = logical 1 t = '000'

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

tf = logical 0 xs = '005000000' t = '005' tf = logical 1 t = '000' t = '000'

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

tf = logical 0 xs = '015000000' t = '015' t = '000' t = '000'

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

tf = logical 0 xs = '050000000' t = '050' t = '000' t = '000'

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

tf = logical 0 xs = '105000000' t = '105' tf = logical 1 t = '000' t = '000'

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

tf = logical 0 xs = '050050050' t = '050' t = '050' t = '050'

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

tf = logical 0 xs = '050000005' t = '050' t = '000' t = '005' tf = logical 1

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

tf = logical 0 xs = '050000015' t = '050' t = '000' t = '015'

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

tf = logical 0 xs = '500000000' t = '500' tf = logical 1 t = '000' t = '000'

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

tf = logical 0 xs = '005000000000' t = '005' tf = logical 1 t = '000' t = '000' t = '000'

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

tf = logical 0 xs = '050000000000' t = '050' t = '000' t = '000' t = '000'