From 85c5f535d87eb7a8e3275aa386ac2b55102191a6 Mon Sep 17 00:00:00 2001 From: Lucas Date: Mon, 2 Feb 2026 04:56:58 +0100 Subject: [PATCH] zf --- Digby_Real_Estate/Fundamentals/my_factor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Digby_Real_Estate/Fundamentals/my_factor.c b/Digby_Real_Estate/Fundamentals/my_factor.c index 489f06f..8fefd5a 100644 --- a/Digby_Real_Estate/Fundamentals/my_factor.c +++ b/Digby_Real_Estate/Fundamentals/my_factor.c @@ -6,7 +6,7 @@ int *my_factor(int n){ if (n <= 0) return NULL; - if (n == 1) return 1; + //if (n == 1) return 1; int cnt = 0; int tmp = n; @@ -32,7 +32,7 @@ int *my_factor(int n){ if (tmp % div == 0){ *(kebab + index) = div; index ++; - tmp = tmp / div; + tmp = tmp / div; } else div ++; }