From bc2a2fa8b31222369764887737e1a3d81371064b Mon Sep 17 00:00:00 2001 From: FeignClaims Date: Thu, 24 Oct 2024 16:52:24 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E4=BC=98=E5=8C=96=E6=8B=86=E5=88=86?= =?UTF-8?q?=E6=95=B4=E6=95=B0=E7=9A=84=E9=98=85=E8=AF=BB=E4=BD=93=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- faq/exercise/split_digits.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/faq/exercise/split_digits.rst b/faq/exercise/split_digits.rst index 6d165566..995edc42 100644 --- a/faq/exercise/split_digits.rst +++ b/faq/exercise/split_digits.rst @@ -2,7 +2,7 @@ 拆分整数的各位数 ************************************************************************************************************************ -拆分整数的核心在于, +拆分整数的核心在于, 十进制的表示方式是 :math:`d_0 * 10^0 + d_1 * 10^1 + ... + d_n * 10^n`, 因此, - 利用整数求余 :cpp:`%` 运算, 我们可以 "筛" 掉高位部分: :cpp:`2193 % 100 == 93`. - 利用整数整除 :cpp:`/` 运算, 我们可以 "筛" 掉低位部分: :cpp:`2193 / 100 == 21`.