From f9ef9e9f20d97b8a1097905ca48ecad24fe8bdaf Mon Sep 17 00:00:00 2001 From: departever <2233492563@qq.com> Date: Mon, 25 Mar 2024 15:36:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86java=E7=89=88=E6=9C=AC=E8=B5=8E?= =?UTF-8?q?=E9=87=91=E4=BF=A1=E4=B8=AD=E7=9A=84=E6=B3=A8=E9=87=8A=E7=9A=84?= =?UTF-8?q?=E6=80=BB=E5=AD=97=E4=BF=AE=E6=94=B9=E4=B8=AD=E5=AD=97=E4=BE=BF?= =?UTF-8?q?=E4=BA=8E=E7=90=86=E8=A7=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- problems/0383.赎金信.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/problems/0383.赎金信.md b/problems/0383.赎金信.md index ff5aafed..ca877f0a 100644 --- a/problems/0383.赎金信.md +++ b/problems/0383.赎金信.md @@ -133,7 +133,7 @@ class Solution { record[c - 'a'] -= 1; } - // 如果数组中存在负数,说明ransomNote字符串总存在magazine中没有的字符 + // 如果数组中存在负数,说明ransomNote字符串中存在magazine中没有的字符 for(int i : record){ if(i < 0){ return false; @@ -469,4 +469,3 @@ bool canConstruct(char* ransomNote, char* magazine) { -