From 6537533ded31acbf53b01a5cd1c515478d90c871 Mon Sep 17 00:00:00 2001 From: SnailClimb Date: Sat, 20 Jul 2019 13:30:21 +0800 Subject: [PATCH] =?UTF-8?q?Update=20=E5=87=A0=E9=81=93=E5=B8=B8=E8=A7=81?= =?UTF-8?q?=E7=9A=84=E5=AD=90=E7=AC=A6=E4=B8=B2=E7=AE=97=E6=B3=95=E9=A2=98?= =?UTF-8?q?.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../几道常见的子符串算法题.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/dataStructures-algorithms/几道常见的子符串算法题.md b/docs/dataStructures-algorithms/几道常见的子符串算法题.md index c85c1b74..cd2a3e31 100644 --- a/docs/dataStructures-algorithms/几道常见的子符串算法题.md +++ b/docs/dataStructures-algorithms/几道常见的子符串算法题.md @@ -459,7 +459,7 @@ public class Main { return 0; } } - return flag == 1 ? res : -res; + return flag != 2 ? res : -res; }