File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -360,8 +360,9 @@ public class Summing {
360
360
else
361
361
System . out. format(" result: %d%ncheckValue: %d%n" , result, checkValue);
362
362
}
363
- public static final int SZ = 100_000_000 ;// This even works://
364
- public static final int SZ = 1_000_000_000 ;
363
+ public static final int SZ = 100_000_000 ;
364
+ // This even works:
365
+ // public static final int SZ = 1_000_000_000;
365
366
public static final long CHECK = (long )SZ * ((long )SZ + 1 )/ 2 ; // Gauss's formula
366
367
public static void main (String [] args ){
367
368
System . out. println(CHECK );
@@ -3159,4 +3160,4 @@ Pizza4: complete
3159
3160
3160
3161
<!-- 分页 -->
3161
3162
3162
- <div style=" page- break - after: always;" ></div>
3163
+ <div style=" page- break - after: always;" ></div>
You can’t perform that action at this time.
0 commit comments