From 600f8dff28451ee656ea109cf204ad48b95d7e74 Mon Sep 17 00:00:00 2001 From: RexHuang Date: Thu, 11 Jun 2020 14:07:05 +0800 Subject: [PATCH] Update 24-Concurrent-Programming.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 源码错误 --- docs/book/24-Concurrent-Programming.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/book/24-Concurrent-Programming.md b/docs/book/24-Concurrent-Programming.md index baa79c7b..b24e4569 100644 --- a/docs/book/24-Concurrent-Programming.md +++ b/docs/book/24-Concurrent-Programming.md @@ -360,8 +360,9 @@ public class Summing { else System.out.format("result: %d%ncheckValue: %d%n", result, checkValue); } - public static final int SZ = 100_000_000;// This even works:// - public static final int SZ = 1_000_000_000; + public static final int SZ = 100_000_000; + // This even works: + // public static final int SZ = 1_000_000_000; public static final long CHECK = (long)SZ * ((long)SZ + 1)/2; // Gauss's formula public static void main(String[] args){ System.out.println(CHECK); @@ -3159,4 +3160,4 @@ Pizza4: complete -
\ No newline at end of file +