Cody

Problem 1025. Divisors of an integer

Given a number N, return a vector V of all integers that divide N. For example, N = 10 Then V=[1 2 5 10]

Solution Stats

48.45% Correct | 51.55% Incorrect
Last solution submitted on Sep 19, 2019