From b540dbfdd12e2f058edb47925e58736372f9c261 Mon Sep 17 00:00:00 2001 From: gnixgnohuh Date: 2023年3月22日 14:58:29 +0800 Subject: [PATCH] =?UTF-8?q?Update=2057.1=20=E5=92=8C=E4=B8=BA=20S=20?= =?UTF-8?q?=E7=9A=84=E4=B8=A4=E4=B8=AA=E6=95=B0=E5=AD=97.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit bug fix --- ...232円204円344円270円244円344円270円252円346円225円260円345円255円227円.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/notes/57.1 345円222円214円344円270円272円 S 347円232円204円344円270円244円344円270円252円346円225円260円345円255円227円.md" "b/notes/57.1 345円222円214円344円270円272円 S 347円232円204円344円270円244円344円270円252円346円225円260円345円255円227円.md" index 8d15f13d91..2f82aac44a 100644 --- "a/notes/57.1 345円222円214円344円270円272円 S 347円232円204円344円270円244円344円270円252円346円225円260円345円255円227円.md" +++ "b/notes/57.1 345円222円214円344円270円272円 S 347円232円204円344円270円244円344円270円252円346円225円260円345円255円227円.md" @@ -20,7 +20,7 @@ public ArrayList FindNumbersWithSum(int[] nums, int target) { int i = 0, j = nums.length - 1; while (i < j) { - int cur = nums[i] + array[j]; + int cur = nums[i] + nums[j]; if (cur == target) return new ArrayList(Arrays.asList(nums[i], nums[j])); if (cur < target)

AltStyle によって変換されたページ (->オリジナル) /