From fdfddd88f99400442d5bc815df0adea96cb8589a Mon Sep 17 00:00:00 2001 From: firemaples Date: Tue, 26 Jul 2022 22:37:40 +0800 Subject: [PATCH] =?UTF-8?q?Update=200452.=E7=94=A8=E6=9C=80=E5=B0=91?= =?UTF-8?q?=E6=95=B0=E9=87=8F=E7=9A=84=E7=AE=AD=E5=BC=95=E7=88=86=E6=B0=94?= =?UTF-8?q?=E7=90=83.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a missing line back --- ...7\256\255\345\274\225\347\210\206\346\260\224\347\220\203.md" | 1 + 1 file changed, 1 insertion(+) diff --git "a/problems/0452.\347\224\250\346\234\200\345\260\221\346\225\260\351\207\217\347\232\204\347\256\255\345\274\225\347\210\206\346\260\224\347\220\203.md" "b/problems/0452.\347\224\250\346\234\200\345\260\221\346\225\260\351\207\217\347\232\204\347\256\255\345\274\225\347\210\206\346\260\224\347\220\203.md" index 3042b0636b..6e092f7c4b 100644 --- "a/problems/0452.\347\224\250\346\234\200\345\260\221\346\225\260\351\207\217\347\232\204\347\256\255\345\274\225\347\210\206\346\260\224\347\220\203.md" +++ "b/problems/0452.\347\224\250\346\234\200\345\260\221\346\225\260\351\207\217\347\232\204\347\256\255\345\274\225\347\210\206\346\260\224\347\220\203.md" @@ -150,6 +150,7 @@ class Solution { int count = 1; //重叠气球的最小右边界 int leftmostRightBound = points[0][1]; + for (int i = 1; i < points.length; i++) { //如果下一个气球的左边界大于最小右边界 if (points[i][0] > leftmostRightBound ) { //增加一次射击