From fad9f31782b9aa3571307ca4bcbb7c863a428bb4 Mon Sep 17 00:00:00 2001 From: zhangbo Date: Fri, 23 Feb 2024 14:05:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=95=E8=AF=8D=E6=8B=BC=E5=86=99=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ReciprocalSearch2.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ReciprocalSearch2.cpp b/ReciprocalSearch2.cpp index f35e323..214221a 100644 --- a/ReciprocalSearch2.cpp +++ b/ReciprocalSearch2.cpp @@ -114,10 +114,10 @@ int main() { const mpz_class den = last.get_den(); if ((num % den) != 0) continue; - const mpz_class quotinent = num / den; - if (quotinent > 100) continue; + const mpz_class quotient = num / den; + if (quotient > 100) continue; - int i10 = quotinent.get_si(); + int i10 = quotient.get_si(); if (i10 <= i9) continue; if (check(i1, i2, i3, i4, i5, i6, i7, i8, i9, i10)) {