Cody

Solution 2073008

Submitted on 28 Dec 2019 by 2quack
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
x = [1.000 1.04 0.22 10.1; 2.05 2.33 4.1 1000.31; 5.00010 6.429 7.492 8.0]; y_correct = 4; assert(isequal(find_max_sigdec(x),y_correct))

sx1 = 3 4 sx2 = 4 b = 1 z = 100 z = 99 z = 98 z = 97 z = 96 z = 95 z = 94 z = 93 z = 92 z = 91 z = 90 z = 89 z = 88 z = 87 z = 86 z = 85 z = 84 z = 83 z = 82 z = 81 z = 80 z = 79 z = 78 z = 77 z = 76 z = 75 z = 74 z = 73 z = 72 z = 71 z = 70 z = 69 z = 68 z = 67 z = 66 z = 65 z = 64 z = 63 z = 62 z = 61 z = 60 z = 59 z = 58 z = 57 z = 56 z = 55 z = 54 z = 53 z = 52 z = 51 z = 50 z = 49 z = 48 z = 47 z = 46 z = 45 z = 44 z = 43 z = 42 z = 41 z = 40 z = 39 z = 38 z = 37 z = 36 z = 35 z = 34 z = 33 z = 32 z = 31 z = 30 z = 29 z = 28 z = 27 z = 26 z = 25 z = 24 z = 23 z = 22 z = 21 z = 20 z = 19 z = 18 z = 17 z = 16 z = 15 z = 14 z = 13 z = 12 z = 11 z = 10 z = 9 z = 8 z = 7 z = 6 z = 5 z = 4 z = 3 z = 2 z = 1 z = 0 b = 2.0500 z = 0 100 z = 0 99 z = 0 98 z = 0 97 z = 0 96 z = 0 95 z = 0 94 z = 0 93 z = 0 92 z = 0 91 z = 0 90 z = 0 89 z = 0 88 z = 0 87 z = 0 86 z = 0 85 z = 0 84 z = 0 83 z = 0 82 z = 0 81 z = 0 80 z = 0 79 z = 0 78 z = 0 77 z = 0 76 z = 0 75 z = 0 74 z = 0 73 z = 0 72 z = 0 71 z = 0 70 z = 0 69 z = 0 68 z = 0 67 z = 0 66 z = 0 65 z = 0 64 z = 0 63 z = 0 62 z = 0 61 z = 0 60 z = 0 59 z = 0 58 z = 0 57 z = 0 56 z = 0 55 z = 0 54 z = 0 53 z = 0 52 z = 0 51 z = 0 50 z = 0 49 z = 0 48 z = 0 47 z = 0 46 z = 0 45 z = 0 44 z = 0 43 z = 0 42 z = 0 41 z = 0 40 z = 0 39 z = 0 38 z = 0 37 z = 0 36 z = 0 35 z = 0 34 z = 0 33 z = 0 32 z = 0 31 z = 0 30 z = 0 29 z = 0 28 z = 0 27 z = 0 26 z = 0 25 z = 0 24 z = 0 23 z = 0 22 z = 0 21 z = 0 20 z = 0 19 z = 0 18 z = 0 17 z = 0 16 z = 0 15 z = 0 14 z = 0 13 z = 0 12 z = 0 11 z = 0 10 z = 0 9 z = 0 8 z = 0 7 z = 0 6 z = 0 5 z = 0 4 z = 0 3 z = 0 2 b = 5.0001 z = 0 2 100 z = 0 2 99 z = 0 2 98 z = 0 2 97 z = 0 2 96 z = 0 2 95 z = 0 2 94 z = 0 2 93 z = 0 2 92 z = 0 2 91 z = 0 2 90 z = 0 2 89 z = 0 2 88 z = 0 2 87 z = 0 2 86 z = 0 2 85 z = 0 2 84 z = 0 2 83 z = 0 2 82 z = 0 2 81 z = 0 2 80 z = 0 2 79 z = 0 2 78 z = 0 2 77 z = 0 2 76 z = 0 2 75 z = 0 2 74 z = 0 2 73 z = 0 2 72 z = 0 2 71 z = 0 2 70 z = 0 2 69 z = 0 2 68 z = 0 2 67 z = 0 2 66 z = 0 2 65 z = 0 2 64 z = 0 2 63 z = 0 2 62 z = 0 2 61 z = 0 2 60 z = 0 2 59 z = 0 2 58 z = 0 2 57 z = 0 2 56 z = 0 2 55 z = 0 2 54 z = 0 2 53 z = 0 2 52 z = 0 2 51 z = 0 2 50 z = 0 2 49 z = 0 2 48 z = 0 2 47 z = 0 2 46 z = 0 2 45 z = 0 2 44 z = 0 2 43 z = 0 2 42 z = 0 2 41 z = 0 2 40 z = 0 2 39 z = 0 2 38 z = 0 2 37 z = 0 2 36 z = 0 2 35 z = 0 2 34 z = 0 2 33 z = 0 2 32 z = 0 2 31 z = 0 2 30 z = 0 2 29 z = 0 2 28 z = 0 2 27 z = 0 2 26 z = 0 2 25 z = 0 2 24 z = 0 2 23 z = 0 2 22 z = 0 2 21 z = 0 2 20 z = 0 2 19 z = 0 2 18 z = 0 2 17 z = 0 2 16 z = 0 2 15 z = 0 2 14 z = 0 2 13 z = 0 2 12 z = 0 2 11 z = 0 2 10 z = 0 2 9 z = 0 2 8 z = 0 2 7 z = 0 2 6 z = 0 2 5 z = 0 2 4 b = 1.0400 z = 0 2 4 100 z = 0 2 4 99 z = 0 2 4 98 z = 0 2 4 97 z = 0 2 4 96 z = 0 2 4 95 z = 0 2 4 94 z = 0 2 4 93 z = 0 2 4 92 z = 0 2 4 91 z = 0 2 4 90 z = 0 2 4 89 z = 0 2 4 88 z = 0 2 4 87 z = 0 2 4 86 z = 0 2 4 85 z = 0 2 4 84 z = 0 2 4 83 z = 0 2 4 82 z = 0 2 4 81 z = 0 2 4 80 z = 0 2 4 79 z = 0 2 4 78 z = 0 2 4 77 z = 0 2 4 76 z = 0 2 4 75 z = 0 2 4 74 z = 0 2 4 73 z = 0 2 4 72 z = 0 2 4 71 z = 0 2 4 70 z = 0 2 4 69 z = 0 2 4 68 z = 0 2 4 67 z = 0 2 4 66 z = 0 2 4 65 z = 0 2 4 64 z = 0 2 4 63 z = 0 2 4 62 z = 0 2 4 61 z = 0 2 4 60 z = 0 2 4 59 z = 0 2 4 58 z = 0 2 4 57 z = 0 2 4 56 z = 0 2 4 55 z = 0 2 4 54 z = 0 2 4 53 z = 0 2 4 52 z = 0 2 4 51 z = 0 2 4 50 z = 0 2 4 49 z = 0 2 4 48 z = 0 2 4 47 z = 0 2 4 46 z = 0 2 4 45 z = 0 2 4 44 z = 0 2 4 43 z = 0 2 4 42 z = 0 2 4 41 z = 0 2 4 40 z = 0 2 4 39 z = 0 2 4 38 z = 0 2 4 37 z = 0 2 4 36 z = 0 2 4 35 z = 0 2 4 34 z = 0 2 4 33 z = 0 2 4 32 z = 0 2 4 31 z = 0 2 4 30 z = 0 2 4 29 z = 0 2 4 28 z = 0 2 4 27 z = 0 2 4 26 z = 0 2 4 25 z = 0 2 4 24 z = 0 2 4 23 z = 0 2 4 22 z = 0 2 4 21 z = 0 2 4 20 z = 0 2 4 19 z = 0 2 4 18 z = 0 2 4 17 z = 0 2 4 16 z = 0 2 4 15 z = 0 2 4 14 z = 0 2 4 13 z = 0 2 4 12 z = 0 2 4 11 z = 0 2 4 10 z = 0 2 4 9 z = 0 2 4 8 z = 0 2 4 7 z = 0 2 4 6 z = 0 2 4 5 z = 0 2 4 4 z = 0 2 4 3 z = 0 2 4 2 y = 4

2   Pass
N = randi(6,1); x1 = rand(1,100); for k = 1:100 x(1,k) = round(x1(1,k)*10^N)/10^N; end assert(isequal(find_max_sigdec(x), N))

sx1 = 1 100 sx2 = 100 b = 0.4000 z = 100 z = 99 z = 98 z = 97 z = 96 z = 95 z = 94 z = 93 z = 92 z = 91 z = 90 z = 89 z = 88 z = 87 z = 86 z = 85 z = 84 z = 83 z = 82 z = 81 z = 80 z = 79 z = 78 z = 77 z = 76 z = 75 z = 74 z = 73 z = 72 z = 71 z = 70 z = 69 z = 68 z = 67 z = 66 z = 65 z = 64 z = 63 z = 62 z = 61 z = 60 z = 59 z = 58 z = 57 z = 56 z = 55 z = 54 z = 53 z = 52 z = 51 z = 50 z = 49 z = 48 z = 47 z = 46 z = 45 z = 44 z = 43 z = 42 z = 41 z = 40 z = 39 z = 38 z = 37 z = 36 z = 35 z = 34 z = 33 z = 32 z = 31 z = 30 z = 29 z = 28 z = 27 z = 26 z = 25 z = 24 z = 23 z = 22 z = 21 z = 20 z = 19 z = 18 z = 17 z = 16 z = 15 z = 14 z = 13 z = 12 z = 11 z = 10 z = 9 z = 8 z = 7 z = 6 z = 5 z = 4 z = 3 z = 2 z = 1 b = 0.8000 z = 1 100 z = 1 99 z = 1 98 z = 1 97 z = 1 96 z = 1 95 z = 1 94 z = 1 93 z = 1 92 z = 1 91 z = 1 90 z = 1 89 z = 1 88 z = 1 87 z = 1 86 z = 1 85 z = 1 84 z = 1 83 z = 1 82 z = 1 81 z = 1 80 z = 1 79 z = 1 78 z = 1 77 z = 1 76 z = 1 75 z = 1 74 z = 1 73 z = 1 72 z = 1 71 z = 1 70 z = 1 69 z = 1 68 z = 1 67 z = 1 66 z = 1 65 z = 1 64 z = 1 63 z = 1 62 z = 1 61 z = 1 60 z = 1 59 z = 1 58 z = 1 57 z = 1 56 z = 1 55 z = 1 54 z = 1 53 z = 1 52 z = 1 51 z = 1 50 z = 1 49 z = 1 48 z = 1 47 z = 1 46 z = 1 45 z = 1 44 z = 1 43 z = 1 42 z = 1 41 z = 1 40 z = 1 39 z = 1 38 z = 1 37 z = 1 36 z = 1 35 z = 1 34 z = 1 33 z = 1 32 z = 1 31 z = 1 30 z = 1 29 z = 1 28 z = 1 27 z = 1 26 z = 1 25 z = 1 24 z = 1 23 z = 1 22 z = 1 21 z = 1 20 z = 1 19 z = 1 18 z = 1 17 z = 1 16 z = 1 15 z = 1 14 z = 1 13 z = 1 12 z = 1 11 z = 1 10 z = 1 9 z = 1 8 z = 1 7 z = 1 6 z = 1 5 z = 1 4 z = 1 3 z = 1 2 z = 1 1 b = 0.4000 z = 1 1 100 z = 1 1 99 z = 1 1 98 z = 1 1 97 z = 1 1 96 z = 1 1 95 z = 1 1 94 z = 1 1 93 z = 1 1 92 z = 1 1 91 z = 1 1 90 z = 1 1 89 z = 1 1 88 z = 1 1 87 z = 1 1 86 z = 1 1 85 z = 1 1 84 z = 1 1 83 z = 1 1 82 z = 1 1 81 z = 1 1 80 z = 1 1 79 z = 1 1 78 z = 1 1 77 z = 1 1 76 z = 1 1 75 z = 1 1 74 z = 1 1 73 z = 1 1 72 z = 1 1 71 z = 1 1 70 z = 1 1 69 z = 1 1 68 z = 1 1 67 z = 1 1 66 z = 1 1 65 z = 1 1 64 z = 1 1 63 z = 1 1 62 z = 1 1 61 z = 1 1 60 z = 1 1 59 z = 1 1 58 z = 1 1 57 z = 1 1 56 z = 1 1 55 z = 1 1 54 z = 1 1 53 z = 1 1 52 z = 1 1 51 z = 1 1 50 z = 1 1 49 z = 1 1 48 z = 1 1 47 z = 1 1 46 z = 1 1 45 z = 1 1 44 z = 1 1 43 z = 1 1 42 z = 1 1 41 z = 1 1 40 z = 1 1 39 z = 1 1 38 z = 1 1 37 z = 1 1 36 z = 1 1 35 z = 1 1 34 z = 1 1 33 z = 1 1 32 z = 1 1 31 z = 1 1 30 z = 1 1 29 z = 1 1 28 z = 1 1 27 z = 1 1 26 z = 1 1 25 z = 1 1 24 z = 1 1 23 z = 1 1 22 z = 1 1 21 z = 1 1 20 z = 1 1 19 z = 1 1 18 z = 1 1 17 z = 1 1 16 z = 1 1 15 z = 1 1 14 z = 1 1 13 z = 1 1 12 z = 1 1 11 z = 1 1 10 z = 1 1 9 z = 1 1 8 z = 1 1 7 z = 1 1 6 z = 1 1 5 z = 1 1 4 z = 1 1 3 z = 1 1 2 z = 1 1 1 b = 0.2000 z = 1 1 1 100 z = 1 1 1 99 z = 1 1 1 98 z = 1 1 1 97 z = 1 1 1 96 z = 1 1 1 95 z = 1 1 1 94 z = 1 1 1 93 z = 1 1 1 92 z = 1 1 1 91 z = 1 1 1 90 z = 1 1 1 89 z = 1 1 1 88 z = 1 1 1 87 z = 1 1 1 86 z = 1 1 1 85 z = 1 1 1 84 z = 1 1 1 83 z = 1 1 1 82 z = 1 1 1 81 z = 1 1 1 80 z = 1 1 1 79 z = 1 1 1 78 z = 1 1 1 77 z = 1 1 1 76 z = 1 1 1 75 z = 1 1 1 74 z = 1 1 1 73 z = 1 1 1 72 z = 1 1 1 71 z = 1 1 1 70 z = 1 1 1 69 z = 1 1 1 68 z = 1 1 1 67 z = 1 1 1 66 z = 1 1 1 65 z = 1 1 1 64 z = 1 1 1 63 z = 1 1 1 62 z = 1 1 1 61 z = 1 1 1 60 z = 1 1 1 59 z = 1 1 1 58 z = 1 1 1 57 z = 1 1 1 56 z = 1 1 1 55 z = 1 1 1 54 z = 1 1 1 53 z = 1 1 1 52 z = 1 1 1 51 z = 1 1 1 50 z = 1 1 1 49 z = 1 1 1 48 z = 1 1 1 47 z = 1 1 1 46 z = 1 1 1 45 z = 1 1 1 44 z = 1 1 1 43 z = 1 1 1 42 z = 1 1 1 41 z = 1 1 1 40 z = 1 1 1 39 z = 1 1 1 38 z = 1 1 1 37 z = 1 1 1 36 z = 1 1 1 35 z = 1 1 1 34 z = 1 1 1 33 z = 1 1 1 32 z = 1 1 1 31 z = 1 1 1 30 z = 1 1 1 29 z = 1 1 1 28 z = 1 1 1 27 z = 1 1 1 26 z = 1 1 1 25 z = 1 1 1 24 z = 1 1 1 23 z = 1 1 1 22 z = 1 1 1 21 z = 1 1 1 20 z = 1 1 1 19 z = 1 1 1 18 z = 1 1 1 17 z = 1 1 1 16 z = 1 1 1 15 z = 1 1 1 14 z = 1 1 1 13 z = 1 1 1 12 z = 1 1 1 11 z = 1 1 1 10 z = 1 1 1 9 z = 1 1 1 8 z = 1 1 1 7 z = 1 1 1 6 z = 1 1 1 5 z = 1 1 1 4 z = 1 1 1 3 z = 1 1 1 2 z = 1 1 1 1 b = 0.3000 z = 1 1 1 1 100 z = 1 1 1 1 99 z = 1 1 1 1 98 z = 1 1 1 1 97 z = 1 1 1 1 96 z = 1 1 1 1 95 z = 1 1 1 1 94 z = 1 1 1 1 93 z = 1 1 1 1 92 z = 1 1 1 1 91 z = 1 1 1 1 90 z = 1 1 1 1 89 z = 1 1 1 1 88 z = 1 1 1 1 87 z = 1 1 1 1 86 z = 1 1 1 1 85 z = 1 1 1 1 84 z = 1 1 1 ...

3   Pass
N = randi(6,1); a = rand(5,20); for k = 1:20 for m = 1:5 x(m,k) = round(a(m,k)*10^N)/10^N; end end assert(isequal(find_max_sigdec(x), N))

sx1 = 5 20 sx2 = 20 b = 0.3257 z = 100 z = 99 z = 98 z = 97 z = 96 z = 95 z = 94 z = 93 z = 92 z = 91 z = 90 z = 89 z = 88 z = 87 z = 86 z = 85 z = 84 z = 83 z = 82 z = 81 z = 80 z = 79 z = 78 z = 77 z = 76 z = 75 z = 74 z = 73 z = 72 z = 71 z = 70 z = 69 z = 68 z = 67 z = 66 z = 65 z = 64 z = 63 z = 62 z = 61 z = 60 z = 59 z = 58 z = 57 z = 56 z = 55 z = 54 z = 53 z = 52 z = 51 z = 50 z = 49 z = 48 z = 47 z = 46 z = 45 z = 44 z = 43 z = 42 z = 41 z = 40 z = 39 z = 38 z = 37 z = 36 z = 35 z = 34 z = 33 z = 32 z = 31 z = 30 z = 29 z = 28 z = 27 z = 26 z = 25 z = 24 z = 23 z = 22 z = 21 z = 20 z = 19 z = 18 z = 17 z = 16 z = 15 z = 14 z = 13 z = 12 z = 11 z = 10 z = 9 z = 8 z = 7 z = 6 z = 5 b = 0.3164 z = 5 100 z = 5 99 z = 5 98 z = 5 97 z = 5 96 z = 5 95 z = 5 94 z = 5 93 z = 5 92 z = 5 91 z = 5 90 z = 5 89 z = 5 88 z = 5 87 z = 5 86 z = 5 85 z = 5 84 z = 5 83 z = 5 82 z = 5 81 z = 5 80 z = 5 79 z = 5 78 z = 5 77 z = 5 76 z = 5 75 z = 5 74 z = 5 73 z = 5 72 z = 5 71 z = 5 70 z = 5 69 z = 5 68 z = 5 67 z = 5 66 z = 5 65 z = 5 64 z = 5 63 z = 5 62 z = 5 61 z = 5 60 z = 5 59 z = 5 58 z = 5 57 z = 5 56 z = 5 55 z = 5 54 z = 5 53 z = 5 52 z = 5 51 z = 5 50 z = 5 49 z = 5 48 z = 5 47 z = 5 46 z = 5 45 z = 5 44 z = 5 43 z = 5 42 z = 5 41 z = 5 40 z = 5 39 z = 5 38 z = 5 37 z = 5 36 z = 5 35 z = 5 34 z = 5 33 z = 5 32 z = 5 31 z = 5 30 z = 5 29 z = 5 28 z = 5 27 z = 5 26 z = 5 25 z = 5 24 z = 5 23 z = 5 22 z = 5 21 z = 5 20 z = 5 19 z = 5 18 z = 5 17 z = 5 16 z = 5 15 z = 5 14 z = 5 13 z = 5 12 z = 5 11 z = 5 10 z = 5 9 z = 5 8 z = 5 7 z = 5 6 z = 5 5 b = 0.2314 z = 5 5 100 z = 5 5 99 z = 5 5 98 z = 5 5 97 z = 5 5 96 z = 5 5 95 z = 5 5 94 z = 5 5 93 z = 5 5 92 z = 5 5 91 z = 5 5 90 z = 5 5 89 z = 5 5 88 z = 5 5 87 z = 5 5 86 z = 5 5 85 z = 5 5 84 z = 5 5 83 z = 5 5 82 z = 5 5 81 z = 5 5 80 z = 5 5 79 z = 5 5 78 z = 5 5 77 z = 5 5 76 z = 5 5 75 z = 5 5 74 z = 5 5 73 z = 5 5 72 z = 5 5 71 z = 5 5 70 z = 5 5 69 z = 5 5 68 z = 5 5 67 z = 5 5 66 z = 5 5 65 z = 5 5 64 z = 5 5 63 z = 5 5 62 z = 5 5 61 z = 5 5 60 z = 5 5 59 z = 5 5 58 z = 5 5 57 z = 5 5 56 z = 5 5 55 z = 5 5 54 z = 5 5 53 z = 5 5 52 z = 5 5 51 z = 5 5 50 z = 5 5 49 z = 5 5 48 z = 5 5 47 z = 5 5 46 z = 5 5 45 z = 5 5 44 z = 5 5 43 z = 5 5 42 z = 5 5 41 z = 5 5 40 z = 5 5 39 z = 5 5 38 z = 5 5 37 z = 5 5 36 z = 5 5 35 z = 5 5 34 z = 5 5 33 z = 5 5 32 z = 5 5 31 z = 5 5 30 z = 5 5 29 z = 5 5 28 z = 5 5 27 z = 5 5 26 z = 5 5 25 z = 5 5 24 z = 5 5 23 z = 5 5 22 z = 5 5 21 z = 5 5 20 z = 5 5 19 z = 5 5 18 z = 5 5 17 z = 5 5 16 z = 5 5 15 z = 5 5 14 z = 5 5 13 z = 5 5 12 z = 5 5 11 z = 5 5 10 z = 5 5 9 z = 5 5 8 z = 5 5 7 z = 5 5 6 z = 5 5 5 b = 0.2499 z = 5 5 5 100 z = 5 5 5 99 z = 5 5 5 98 z = 5 5 5 97 z = 5 5 5 96 z = 5 5 5 95 z = 5 5 5 94 z = 5 5 5 93 z = 5 5 5 92 z = 5 5 5 91 z = 5 5 5 90 z = 5 5 5 89 z = 5 5 5 88 z = 5 5 5 87 z = 5 5 5 86 z = 5 5 5 85 z = 5 5 5 84 z = 5 5 5 83 z = 5 5 5 82 z = 5 5 5 81 z = 5 5 5 80 z = 5 5 5 79 z = 5 5 5 78 z = 5 5 5 77 z = 5 5 5 76 z = 5 5 5 75 z = 5 5 5 74 z = 5 5 5 73 z = 5 5 5 72 z = 5 5 5 71 z = 5 5 5 70 z = 5 5 5 69 z = 5 5 5 68 z = 5 5 5 67 z = 5 5 5 66 z = 5 5 5 65 z = 5 5 5 64 z = 5 5 5 63 z = 5 5 5 62 z = 5 5 5 61 z = 5 5 5 60 z = 5 5 5 59 z = 5 5 5 58 z = 5 5 5 57 z = 5 5 5 56 z = 5 5 5 55 z = 5 5 5 54 z = 5 5 5 53 z = 5 5 5 52 z = 5 5 5 51 z = 5 5 5 50 z = 5 5 5 49 z = 5 5 5 48 z = 5 5 5 47 z = 5 5 5 46 z = 5 5 5 45 z = 5 5 5 44 z = 5 5 5 43 z = 5 5 5 42 z = 5 5 5 41 z = 5 5 5 40 z = 5 5 5 39 z = 5 5 5 38 z = 5 5 5 37 z = 5 5 5 36 z = 5 5 5 35 z = 5 5 5 34 z = 5 5 5 33 z = 5 5 5 32 z = 5 5 5 31 z = 5 5 5 30 z = 5 5 5 29 z = 5 5 5 28 z = 5 5 5 27 z = 5 5 5 26 z = 5 5 5 25 z = 5 5 5 24 z = 5 5 5 23 z = 5 5 5 22 z = 5 5 5 21 z = 5 5 5 20 z = 5 5 5 19 z = 5 5 5 18 z = 5 5 5 17 z = 5 5 5 16 z = 5 5 5 15 z = 5 5 5 14 z = 5 5 5 13 z = 5 5 5 12 z = 5 5 5 11 z = 5 5 5 10 z = 5 5 5 9 z = 5 5 5 8 z = 5 5 5 7 z = 5 5 5 6 z = 5 5 5 5 b = 0.5367 z = 5 5 5 5 100 z = 5 5 5 5 99 z = 5 5 5 5 98 z = 5 5 5 5 97 z = 5 5 5 5 96 z = 5 5 5 5 95 z = 5 5 5 5 94 z = 5 5 5 5 93 z = 5 5 5 5 92 z = 5 5 5 5 91 z = 5 5 5 5 90 z = 5 5 5 5 89 z = 5 5 5 5 88 z = 5 5 5 5 87 z = 5 5 5 5 86 z = 5 5 5 5 85 z = 5 5 5 5 84 z = 5 5 5 5 83 z = 5 5 5 5 82 z = 5 5 5 5 81 z = 5 5 5 5 80 z = 5 5 5 5 79 z = 5 5 5 5 78 z = 5 5 5 5 77 z = 5 5 5 5 76 z = 5 5 5 5 75 z = 5 5 5 5 74 z = 5 ...

4   Pass
x = 1; assert(isequal(find_max_sigdec(x), 0))

sx1 = 1 1 sx2 = 1 b = 1 z = 100 z = 99 z = 98 z = 97 z = 96 z = 95 z = 94 z = 93 z = 92 z = 91 z = 90 z = 89 z = 88 z = 87 z = 86 z = 85 z = 84 z = 83 z = 82 z = 81 z = 80 z = 79 z = 78 z = 77 z = 76 z = 75 z = 74 z = 73 z = 72 z = 71 z = 70 z = 69 z = 68 z = 67 z = 66 z = 65 z = 64 z = 63 z = 62 z = 61 z = 60 z = 59 z = 58 z = 57 z = 56 z = 55 z = 54 z = 53 z = 52 z = 51 z = 50 z = 49 z = 48 z = 47 z = 46 z = 45 z = 44 z = 43 z = 42 z = 41 z = 40 z = 39 z = 38 z = 37 z = 36 z = 35 z = 34 z = 33 z = 32 z = 31 z = 30 z = 29 z = 28 z = 27 z = 26 z = 25 z = 24 z = 23 z = 22 z = 21 z = 20 z = 19 z = 18 z = 17 z = 16 z = 15 z = 14 z = 13 z = 12 z = 11 z = 10 z = 9 z = 8 z = 7 z = 6 z = 5 z = 4 z = 3 z = 2 z = 1 z = 0 y = 0