Cody

Problem 2664. Divisors for big integer

Solution 1162114

Submitted on 13 Apr 2017
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
x = 10; y_correct = 4; assert(isequal(divisors_Big(x),y_correct))

Assertion failed.

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

Assertion failed.

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

Assertion failed.

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

Assertion failed.

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

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

Assertion failed.

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

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

Assertion failed.

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

Assertion failed.

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

Assertion failed.

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

Assertion failed.

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

Assertion failed.

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

Assertion failed.

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

Assertion failed.

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

Assertion failed.