diff --git a/d0/da2/number__of__positive__divisors_8cpp.html b/d0/da2/number__of__positive__divisors_8cpp.html
index a5799c7de..af8214652 100644
--- a/d0/da2/number__of__positive__divisors_8cpp.html
+++ b/d0/da2/number__of__positive__divisors_8cpp.html
@@ -120,7 +120,6 @@ $(function(){initNavTree('d0/da2/number__of__positive__divisors_8cpp.html','../.
@@ -165,21 +164,12 @@ list of positive divisors of 36 = 1, 2, 3, 4, 6, 9, 12, 18, 36.
Main function
-
Definition at line 81 of file number_of_positive_divisors.cpp.
-
81 {
-
-
83 int n;
-
84 std::cin >> n;
-
85 if (n == 0) {
-
86 std::cout << "All non-zero numbers are divisors of 0 !" << std::endl;
-
87 } else {
-
88 std::cout << "Number of positive divisors is : ";
-
-
90 }
-
91 return 0;
-
92}
-
-
int number_of_positive_divisors(int n)
+
Definition at line 80 of file number_of_positive_divisors.cpp.
+
80 {
+
+
82 return 0;
+
83}
+
@@ -205,40 +195,40 @@ list of positive divisors of 36 = 1, 2, 3, 4, 6, 9, 12, 18, 36.
- Returns
- number of positive divisors of n (or 1 if n = 0)
-
Definition at line 33 of file number_of_positive_divisors.cpp.
-
33 {
-
34 if (n < 0) {
-
35 n = -n;
-
36 }
-
37
-
38 int number_of_divisors = 1;
-
39
-
40 for (int i = 2; i * i <= n; i++) {
-
41
-
42
-
43
-
44
-
45
-
46
-
47
-
48
-
49 int prime_exponent = 0;
-
50 while (n % i == 0) {
-
51
-
52
-
53 prime_exponent++;
-
54 n /= i;
-
55 }
-
56 number_of_divisors *= prime_exponent + 1;
-
57 }
-
58 if (n > 1) {
-
59
-
60
-
61 number_of_divisors *= 2;
-
62 }
-
63
-
64 return number_of_divisors;
-
65}
+
Definition at line 32 of file number_of_positive_divisors.cpp.
+
32 {
+
33 if (n < 0) {
+
34 n = -n;
+
35 }
+
36
+
37 int number_of_divisors = 1;
+
38
+
39 for (int i = 2; i * i <= n; i++) {
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+
47
+
48 int prime_exponent = 0;
+
49 while (n % i == 0) {
+
50
+
51
+
52 prime_exponent++;
+
53 n /= i;
+
54 }
+
55 number_of_divisors *= prime_exponent + 1;
+
56 }
+
57 if (n > 1) {
+
58
+
59
+
60 number_of_divisors *= 2;
+
61 }
+
62
+
63 return number_of_divisors;
+
64}
@@ -258,14 +248,15 @@ list of positive divisors of 36 = 1, 2, 3, 4, 6, 9, 12, 18, 36.