Cody

Solution 1975061

Submitted on 14 Oct 2019 at 11:31 by kranthi kumar
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 = 10; y_correct = 4; assert(isequal(divisors_Big(x),y_correct))

Sum = 3 Sum = 4

2   Pass
x = 28; y_correct = 6; assert(isequal(divisors_Big(x),y_correct))

Sum = 3 Sum = 5 Sum = 6

3   Pass
x = 28; y_correct = 6; assert(isequal(divisors_Big(x),y_correct))

Sum = 3 Sum = 5 Sum = 6

4   Pass
x = 784; y_correct = 15; assert(isequal(divisors_Big(x),y_correct))

Sum = 3 Sum = 6 Sum = 9 Sum = 12 Sum = 14 Sum = 15

5   Pass
x = 1452637; y_correct = 2; assert(isequal(divisors_Big(x),y_correct))

Sum = 2

6   Pass
x = 5452637; y_correct = 4; assert(isequal(divisors_Big(x),y_correct))

Sum = 3 Sum = 4

7   Pass
x = 16452637; y_correct = 2; assert(isequal(divisors_Big(x),y_correct))

Sum = 2

8   Pass
x = 116452637; y_correct = 8; assert(isequal(divisors_Big(x),y_correct))

Sum = 4 Sum = 7 Sum = 8

9   Pass
x = 416452638; y_correct = 32; assert(isequal(divisors_Big(x),y_correct))

Sum = 6 Sum = 16 Sum = 26 Sum = 31 Sum = 32

10   Pass
x = 12250000; y_correct = 105; assert(isequal(divisors_Big(x),y_correct))

Sum = 4 Sum = 10 Sum = 19 Sum = 31 Sum = 45 Sum = 60 Sum = 74 Sum = 86 Sum = 95 Sum = 101 Sum = 104 Sum = 105

11   Pass
x = 2031120; y_correct = 240; assert(isequal(divisors_Big(x),y_correct))

Sum = 7 Sum = 24 Sum = 55 Sum = 97 Sum = 143 Sum = 185 Sum = 216 Sum = 233 Sum = 239 Sum = 240

12   Pass
x = 76576500; y_correct = 576; assert(isequal(divisors_Big(x),y_correct))

Sum = 8 Sum = 32 Sum = 86 Sum = 175 Sum = 288 Sum = 401 Sum = 490 Sum = 544 Sum = 568 Sum = 575 Sum = 576

13   Pass
x = 816452637; y_correct = 32; assert(isequal(divisors_Big(x),y_correct))

Sum = 6 Sum = 16 Sum = 26 Sum = 31 Sum = 32

14   Pass
x = 103672800; y_correct = 648; assert(isequal(divisors_Big(x),y_correct))

Sum = 7 Sum = 26 Sum = 67 Sum = 134 Sum = 223 Sum = 324 Sum = 425 Sum = 514 Sum = 581 Sum = 622 Sum = 641 Sum = 647 Sum = 648

15   Pass
x = 842161320; y_correct = 1024; assert(isequal(divisors_Big(x),y_correct))

Sum = 9 Sum = 39 Sum = 111 Sum = 238 Sum = 414 Sum = 610 Sum = 786 Sum = 913 Sum = 985 Sum = 1015 Sum = 1023 Sum = 1024