File tree Expand file tree Collapse file tree 3 files changed +7
-10
lines changed
src/main/java/com/lzw/solutions Expand file tree Collapse file tree 3 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ void solve() throws IOException {
5050 }
5151 }
5252 }
53- t --;
5453 }
5554 }
5655
Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ public class Main {
1010 private static int i = 0 ;
1111
1212 public static int increase (int number ) throws Exception {
13- com . lzw . solutions . lintcode . p2416 . Main .i = ++number ;
14- return com . lzw . solutions . lintcode . p2416 . Main .i ;
13+ Main .i = ++number ;
14+ return Main .i ;
1515 }
1616
1717 public static int decrease (int number ) throws Exception {
18- com . lzw . solutions . lintcode . p2416 . Main .i = --number ;
19- return com . lzw . solutions . lintcode . p2416 . Main .i ;
18+ Main .i = --number ;
19+ return Main .i ;
2020 }
2121
2222 public static void main (String [] args ) {
@@ -93,11 +93,11 @@ public static void main(String[] args) {
9393 for (int i = 0 ; i < 4 ; i ++) {
9494 threads [i ].join ();
9595 }
96- if (com . lzw . solutions . lintcode . p2416 . Main .i != instance .checkI ()){
96+ if (Main .i != instance .checkI ()){
9797 Exception exception = new Exception ("Don't cheat!" );
9898 throw exception ;
9999 } else {
100- printStream .write (String .valueOf (com . lzw . solutions . lintcode . p2416 . Main .i ).getBytes ("Utf-8" ));
100+ printStream .write (String .valueOf (Main .i ).getBytes ("Utf-8" ));
101101 }
102102 printStream .close ();
103103 } catch (Exception e ) {
Original file line number Diff line number Diff line change 11package com .lzw .solutions .nowcoder ;
22
3- import nowcoder .nc45 .Test ;
4-
53import java .io .IOException ;
64
75public class Main {
@@ -10,7 +8,7 @@ public class Main {
108 }
119
1210 void solve () throws IOException {
13- Test . run ();
11+
1412 }
1513
1614 public static void main (String [] args ) throws Exception {
You can’t perform that action at this time.
0 commit comments