File tree Expand file tree Collapse file tree 20 files changed +5
-192
lines changed
src/main/java/com/lzw/solutions/uva Expand file tree Collapse file tree 20 files changed +5
-192
lines changed Original file line number Diff line number Diff line change @@ -70,15 +70,6 @@ void close() throws IOException {
70
70
}
71
71
72
72
public static void main (String [] args ) throws Exception {
73
- FileInputStream inStream = null ;
74
- PrintStream outStream = null ;
75
- boolean isLocal = System .getenv ("LOCAL_JUDGE" ) != null ;
76
- if (isLocal ) {
77
- inStream = new FileInputStream ("1.in" );
78
- outStream = new PrintStream ("1.out" );
79
- System .setIn (inStream );
80
- System .setOut (outStream );
81
- }
82
73
83
74
Main main = new Main ();
84
75
main .solve ();
Original file line number Diff line number Diff line change @@ -163,15 +163,6 @@ void close() throws IOException {
163
163
}
164
164
165
165
public static void main (String [] args ) throws Exception {
166
- FileInputStream inStream = null ;
167
- PrintStream outStream = null ;
168
- boolean isLocal = System .getenv ("LOCAL_JUDGE" ) != null ;
169
- if (isLocal ) {
170
- inStream = new FileInputStream ("1.in" );
171
- outStream = new PrintStream ("1.out" );
172
- System .setIn (inStream );
173
- System .setOut (outStream );
174
- }
175
166
176
167
Main main = new Main ();
177
168
main .solve ();
Original file line number Diff line number Diff line change @@ -56,15 +56,6 @@ void close() throws IOException {
56
56
}
57
57
58
58
public static void main (String [] args ) throws Exception {
59
- FileInputStream inStream = null ;
60
- PrintStream outStream = null ;
61
- boolean isLocal = System .getenv ("LOCAL_JUDGE" ) != null ;
62
- if (isLocal ) {
63
- inStream = new FileInputStream ("1.in" );
64
- outStream = new PrintStream ("1.out" );
65
- System .setIn (inStream );
66
- System .setOut (outStream );
67
- }
68
59
69
60
Main main = new Main ();
70
61
main .solve ();
Original file line number Diff line number Diff line change 1
1
package com .lzw .solutions .uva .p10397 ;
2
2
3
- import java .io .FileInputStream ;
4
3
import java .io .IOException ;
5
- import java .io .PrintStream ;
6
4
import java .io .PrintWriter ;
7
5
import java .util .ArrayList ;
8
6
import java .util .Collections ;
@@ -155,15 +153,6 @@ void close() throws IOException {
155
153
}
156
154
157
155
public static void main (String [] args ) throws Exception {
158
- FileInputStream inStream = null ;
159
- PrintStream outStream = null ;
160
- boolean isLocal = System .getenv ("LOCAL_JUDGE" ) != null ;
161
- if (isLocal ) {
162
- inStream = new FileInputStream ("1.in" );
163
- outStream = new PrintStream ("1.out" );
164
- System .setIn (inStream );
165
- System .setOut (outStream );
166
- }
167
156
168
157
Main main = new Main ();
169
158
main .solve ();
Original file line number Diff line number Diff line change @@ -96,15 +96,6 @@ void close() throws IOException {
96
96
}
97
97
98
98
public static void main (String [] args ) throws Exception {
99
- FileInputStream inStream = null ;
100
- PrintStream outStream = null ;
101
- boolean isLocal = System .getenv ("LOCAL_JUDGE" ) != null ;
102
- if (isLocal ) {
103
- inStream = new FileInputStream ("1.in" );
104
- outStream = new PrintStream ("1.out" );
105
- System .setIn (inStream );
106
- System .setOut (outStream );
107
- }
108
99
109
100
Main main = new Main ();
110
101
main .solve ();
Original file line number Diff line number Diff line change @@ -124,15 +124,6 @@ void close() throws IOException {
124
124
}
125
125
126
126
public static void main (String [] args ) throws Exception {
127
- FileInputStream inStream = null ;
128
- PrintStream outStream = null ;
129
- boolean isLocal = System .getenv ("LOCAL_JUDGE" ) != null ;
130
- if (isLocal ) {
131
- inStream = new FileInputStream ("1.in" );
132
- outStream = new PrintStream ("1.out" );
133
- System .setIn (inStream );
134
- System .setOut (outStream );
135
- }
136
127
137
128
MainPlus main = new MainPlus ();
138
129
main .solve ();
Original file line number Diff line number Diff line change @@ -55,15 +55,6 @@ void close() throws IOException {
55
55
}
56
56
57
57
public static void main (String [] args ) throws Exception {
58
- FileInputStream inStream = null ;
59
- PrintStream outStream = null ;
60
- boolean isLocal = System .getenv ("LOCAL_JUDGE" ) != null ;
61
- if (isLocal ) {
62
- inStream = new FileInputStream ("1.in" );
63
- outStream = new PrintStream ("1.out" );
64
- System .setIn (inStream );
65
- System .setOut (outStream );
66
- }
67
58
68
59
Main main = new Main ();
69
60
main .solve ();
Original file line number Diff line number Diff line change @@ -64,15 +64,6 @@ void close() throws IOException {
64
64
}
65
65
66
66
public static void main (String [] args ) throws Exception {
67
- FileInputStream inStream = null ;
68
- PrintStream outStream = null ;
69
- boolean isLocal = System .getenv ("LOCAL_JUDGE" ) != null ;
70
- if (isLocal ) {
71
- inStream = new FileInputStream ("1.in" );
72
- outStream = new PrintStream ("1.out" );
73
- System .setIn (inStream );
74
- System .setOut (outStream );
75
- }
76
67
77
68
Main main = new Main ();
78
69
main .solve ();
Original file line number Diff line number Diff line change @@ -185,15 +185,6 @@ void close() throws IOException {
185
185
}
186
186
187
187
public static void main (String [] args ) throws Exception {
188
- FileInputStream inStream = null ;
189
- PrintStream outStream = null ;
190
- boolean isLocal = System .getenv ("LOCAL_JUDGE" ) != null ;
191
- if (isLocal ) {
192
- inStream = new FileInputStream ("1.in" );
193
- outStream = new PrintStream ("1.out" );
194
- System .setIn (inStream );
195
- System .setOut (outStream );
196
- }
197
188
198
189
Main main = new Main ();
199
190
main .solve ();
Original file line number Diff line number Diff line change @@ -101,15 +101,6 @@ void close() throws IOException {
101
101
}
102
102
103
103
public static void main (String [] args ) throws Exception {
104
- FileInputStream inStream = null ;
105
- PrintStream outStream = null ;
106
- boolean isLocal = System .getenv ("LOCAL_JUDGE" ) != null ;
107
- if (isLocal ) {
108
- inStream = new FileInputStream ("1.in" );
109
- outStream = new PrintStream ("1.out" );
110
- System .setIn (inStream );
111
- System .setOut (outStream );
112
- }
113
104
114
105
Main main = new Main ();
115
106
main .solve ();
You can’t perform that action at this time.
0 commit comments