diff --git a/math/number_of_positive_divisors.cpp b/math/number_of_positive_divisors.cpp index 9407c4dc8d..6d8f858967 100644 --- a/math/number_of_positive_divisors.cpp +++ b/math/number_of_positive_divisors.cpp @@ -23,7 +23,6 @@ **/ #include -#include /** * Function to compute the number of positive divisors. @@ -80,13 +79,5 @@ void tests() { */ int main() { tests(); - int n; - std::cin >> n; - if (n == 0) { - std::cout << "All non-zero numbers are divisors of 0 !" << std::endl; - } else { - std::cout << "Number of positive divisors is : "; - std::cout << number_of_positive_divisors(n) << std::endl; - } return 0; }