From 52812036d95eda5f3bca59cd479851e003fb091b Mon Sep 17 00:00:00 2001 From: Anduin Xue Date: Sat, 19 Apr 2025 07:34:53 +0000 Subject: [PATCH] =?UTF-8?q?Update=20=E5=A6=82=E4=BD=95=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E7=8E=B0=E5=9C=A8=E5=90=83=E4=BB=80=E4=B9=88.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tips/如何选择现在吃什么.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tips/如何选择现在吃什么.md b/tips/如何选择现在吃什么.md index d5e4fa98..e42b79b1 100644 --- a/tips/如何选择现在吃什么.md +++ b/tips/如何选择现在吃什么.md @@ -24,8 +24,10 @@ 解得 -* a = floor((N+1)/2) -* b = ceil((N+1)/2) +```javascript +const a = Math.floor((N+1)/2); +const b = Math.ceil((N+1)/2); +``` ### 菜的选择