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 11package com .lzw .solutions .uva .p10077 ;
22
33import java .io .BufferedReader ;
4- import java .io .FileInputStream ;
54import java .io .IOException ;
65import java .io .InputStreamReader ;
7- import java .io .PrintStream ;
86import java .io .PrintWriter ;
97import java .util .ArrayList ;
108import java .util .List ;
@@ -133,15 +131,6 @@ void close() throws IOException {
133131 }
134132
135133 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- }
145134
146135 Main2 Main2 = new Main2 ();
147136 Main2 .solve ();
Original file line number Diff line number Diff line change 11package com .lzw .solutions .uva .p10114 ;
22
33import java .io .BufferedReader ;
4- import java .io .FileInputStream ;
54import java .io .IOException ;
65import java .io .InputStreamReader ;
7- import java .io .PrintStream ;
86import java .io .PrintWriter ;
97import java .util .StringTokenizer ;
108
@@ -90,15 +88,6 @@ void close() throws IOException {
9088 }
9189
9290 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- }
10291
10392 Main main = new Main ();
10493 main .solve ();
Original file line number Diff line number Diff line change @@ -77,15 +77,6 @@ void close() throws IOException {
7777 }
7878
7979 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- }
8980
9081 Main main = new Main ();
9182 main .solve ();
Original file line number Diff line number Diff line change @@ -164,15 +164,6 @@ void close() throws IOException {
164164 }
165165
166166 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- }
176167
177168 Main main = new Main ();
178169 main .solve ();
Original file line number Diff line number Diff line change @@ -146,15 +146,6 @@ void close() throws IOException {
146146 }
147147
148148 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- }
158149
159150 Main main = new Main ();
160151 main .solve ();
Original file line number Diff line number Diff line change @@ -104,15 +104,6 @@ void close() throws IOException {
104104 }
105105
106106 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- }
116107
117108 Main main = new Main ();
118109 main .solve ();
Original file line number Diff line number Diff line change @@ -104,15 +104,6 @@ void close() throws IOException {
104104 }
105105
106106 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- }
116107
117108 MainPlus main = new MainPlus ();
118109 main .solve ();
Original file line number Diff line number Diff line change @@ -77,15 +77,6 @@ void close() throws IOException {
7777 }
7878
7979 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- }
8980
9081 Main main = new Main ();
9182 main .solve ();
Original file line number Diff line number Diff line change @@ -67,15 +67,6 @@ void close() throws IOException {
6767 }
6868
6969 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- }
7970
8071 Main main = new Main ();
8172 main .solve ();
Original file line number Diff line number Diff line change @@ -68,15 +68,6 @@ void close() throws IOException {
6868 }
6969
7070 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- }
8071
8172 Main main = new Main ();
8273 main .solve ();
You can’t perform that action at this time.
0 commit comments