File tree Expand file tree Collapse file tree 20 files changed +0
-184
lines changed
src/main/java/com/lzw/solutions/uva Expand file tree Collapse file tree 20 files changed +0
-184
lines changed Original file line number Diff line number Diff line change 1
1
package com .lzw .solutions .uva .p10077 ;
2
2
3
3
import java .io .BufferedReader ;
4
- import java .io .FileInputStream ;
5
4
import java .io .IOException ;
6
5
import java .io .InputStreamReader ;
7
- import java .io .PrintStream ;
8
6
import java .io .PrintWriter ;
9
7
import java .util .ArrayList ;
10
8
import java .util .List ;
@@ -133,15 +131,6 @@ void close() throws IOException {
133
131
}
134
132
135
133
public static void Main2 (String [] args ) throws Exception {
136
- FileInputStream inStream = null ;
137
- PrintStream outStream = null ;
138
- boolean isLocal = System .getenv ("LOCAL_JUDGE" ) != null ;
139
- if (isLocal ) {
140
- inStream = new FileInputStream ("2.in" );
141
- // outStream = new PrintStream("1.out");
142
- System .setIn (inStream );
143
- // System.setOut(outStream);
144
- }
145
134
146
135
Main2 Main2 = new Main2 ();
147
136
Main2 .solve ();
Original file line number Diff line number Diff line change 1
1
package com .lzw .solutions .uva .p10114 ;
2
2
3
3
import java .io .BufferedReader ;
4
- import java .io .FileInputStream ;
5
4
import java .io .IOException ;
6
5
import java .io .InputStreamReader ;
7
- import java .io .PrintStream ;
8
6
import java .io .PrintWriter ;
9
7
import java .util .StringTokenizer ;
10
8
@@ -90,15 +88,6 @@ void close() throws IOException {
90
88
}
91
89
92
90
public static void main (String [] args ) throws Exception {
93
- FileInputStream inStream = null ;
94
- PrintStream outStream = null ;
95
- boolean isLocal = System .getenv ("LOCAL_JUDGE" ) != null ;
96
- if (isLocal ) {
97
- inStream = new FileInputStream ("2.in" );
98
- outStream = new PrintStream ("2.out" );
99
- System .setIn (inStream );
100
- System .setOut (outStream );
101
- }
102
91
103
92
Main main = new Main ();
104
93
main .solve ();
Original file line number Diff line number Diff line change @@ -77,15 +77,6 @@ void close() throws IOException {
77
77
}
78
78
79
79
public static void main (String [] args ) throws Exception {
80
- FileInputStream inStream = null ;
81
- PrintStream outStream = null ;
82
- boolean isLocal = System .getenv ("LOCAL_JUDGE" ) != null ;
83
- if (isLocal ) {
84
- inStream = new FileInputStream ("2.in" );
85
- // outStream = new PrintStream("1.out");
86
- System .setIn (inStream );
87
- // System.setOut(outStream);
88
- }
89
80
90
81
Main main = new Main ();
91
82
main .solve ();
Original file line number Diff line number Diff line change @@ -164,15 +164,6 @@ void close() throws IOException {
164
164
}
165
165
166
166
public static void main (String [] args ) throws Exception {
167
- FileInputStream inStream = null ;
168
- PrintStream outStream = null ;
169
- boolean isLocal = System .getenv ("LOCAL_JUDGE" ) != null ;
170
- if (isLocal ) {
171
- inStream = new FileInputStream ("2.in" );
172
- outStream = new PrintStream ("2.out" );
173
- System .setIn (inStream );
174
- System .setOut (outStream );
175
- }
176
167
177
168
Main main = new Main ();
178
169
main .solve ();
Original file line number Diff line number Diff line change @@ -146,15 +146,6 @@ void close() throws IOException {
146
146
}
147
147
148
148
public static void main (String [] args ) throws Exception {
149
- FileInputStream inStream = null ;
150
- PrintStream outStream = null ;
151
- boolean isLocal = System .getenv ("LOCAL_JUDGE" ) != null ;
152
- if (isLocal ) {
153
- inStream = new FileInputStream ("2.in" );
154
- outStream = new PrintStream ("2.out" );
155
- System .setIn (inStream );
156
- System .setOut (outStream );
157
- }
158
149
159
150
Main main = new Main ();
160
151
main .solve ();
Original file line number Diff line number Diff line change @@ -104,15 +104,6 @@ void close() throws IOException {
104
104
}
105
105
106
106
public static void main (String [] args ) throws Exception {
107
- FileInputStream inStream = null ;
108
- PrintStream outStream = null ;
109
- boolean isLocal = System .getenv ("LOCAL_JUDGE" ) != null ;
110
- if (isLocal ) {
111
- inStream = new FileInputStream ("2.in" );
112
- outStream = new PrintStream ("2.out" );
113
- System .setIn (inStream );
114
- System .setOut (outStream );
115
- }
116
107
117
108
Main main = new Main ();
118
109
main .solve ();
Original file line number Diff line number Diff line change @@ -104,15 +104,6 @@ void close() throws IOException {
104
104
}
105
105
106
106
public static void main (String [] args ) throws Exception {
107
- FileInputStream inStream = null ;
108
- PrintStream outStream = null ;
109
- boolean isLocal = System .getenv ("LOCAL_JUDGE" ) != null ;
110
- if (isLocal ) {
111
- inStream = new FileInputStream ("2.in" );
112
- // outStream = new PrintStream("1.out");
113
- System .setIn (inStream );
114
- // System.setOut(outStream);
115
- }
116
107
117
108
MainPlus main = new MainPlus ();
118
109
main .solve ();
Original file line number Diff line number Diff line change @@ -77,15 +77,6 @@ void close() throws IOException {
77
77
}
78
78
79
79
public static void main (String [] args ) throws Exception {
80
- FileInputStream inStream = null ;
81
- PrintStream outStream = null ;
82
- boolean isLocal = System .getenv ("LOCAL_JUDGE" ) != null ;
83
- if (isLocal ) {
84
- inStream = new FileInputStream ("2.in" );
85
- outStream = new PrintStream ("2.out" );
86
- System .setIn (inStream );
87
- System .setOut (outStream );
88
- }
89
80
90
81
Main main = new Main ();
91
82
main .solve ();
Original file line number Diff line number Diff line change @@ -67,15 +67,6 @@ void close() throws IOException {
67
67
}
68
68
69
69
public static void main (String [] args ) throws Exception {
70
- FileInputStream inStream = null ;
71
- PrintStream outStream = null ;
72
- boolean isLocal = System .getenv ("LOCAL_JUDGE" ) != null ;
73
- if (isLocal ) {
74
- inStream = new FileInputStream ("2.in" );
75
- // outStream = new PrintStream("1.out");
76
- System .setIn (inStream );
77
- // System.setOut(outStream);
78
- }
79
70
80
71
Main main = new Main ();
81
72
main .solve ();
Original file line number Diff line number Diff line change @@ -68,15 +68,6 @@ void close() throws IOException {
68
68
}
69
69
70
70
public static void main (String [] args ) throws Exception {
71
- FileInputStream inStream = null ;
72
- PrintStream outStream = null ;
73
- boolean isLocal = System .getenv ("LOCAL_JUDGE" ) != null ;
74
- if (isLocal ) {
75
- inStream = new FileInputStream ("2.in" );
76
- outStream = new PrintStream ("2.out" );
77
- System .setIn (inStream );
78
- System .setOut (outStream );
79
- }
80
71
81
72
Main main = new Main ();
82
73
main .solve ();
You can’t perform that action at this time.
0 commit comments