From fca4d20f5ae2c662c7aa0f3384e13826646b82f5 Mon Sep 17 00:00:00 2001 From: Lucas Date: Mon, 2 Feb 2026 03:40:06 +0100 Subject: [PATCH] submit --- .gitignore | 3 ++- Digby_Real_Estate/Fundamentals/my_factor.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 888e1f5..f63ef28 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,5 @@ .idea/ *~ *.DotSettings.user - +*.html +test diff --git a/Digby_Real_Estate/Fundamentals/my_factor.c b/Digby_Real_Estate/Fundamentals/my_factor.c index 813afd2..a7011d3 100644 --- a/Digby_Real_Estate/Fundamentals/my_factor.c +++ b/Digby_Real_Estate/Fundamentals/my_factor.c @@ -15,7 +15,7 @@ int *my_factor(int n){ while(tmp > 1){ if (tmp % div == 0){ cnt ++; - tmp = tmp /div + tmp = tmp /div; } else div ++; } @@ -41,3 +41,4 @@ int *my_factor(int n){ return rslt; } +