Skip to content

Commit 464e6fd

Browse files
committed
feat(uva): add solution boilerplate for p1671
1 parent 2ccd0e8 commit 464e6fd

File tree

1 file changed

+41
-0
lines changed
  • src/main/java/com/lzw/solutions/uva/p1671

1 file changed

+41
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
package com.lzw.solutions.uva.p1671;
2+
3+
import java.io.BufferedReader;
4+
import java.io.IOException;
5+
import java.io.InputStreamReader;
6+
import java.io.PrintWriter;
7+
8+
public class Main {
9+
10+
BufferedReader in;
11+
PrintWriter out;
12+
13+
Main() {
14+
in = new BufferedReader(new InputStreamReader(System.in));
15+
out = new PrintWriter(System.out);
16+
}
17+
18+
int readInt() throws IOException {
19+
return Integer.parseInt(in.readLine());
20+
}
21+
22+
void solve() throws IOException {
23+
}
24+
25+
void close() throws IOException {
26+
if (in != null) {
27+
in.close();
28+
}
29+
if (out != null) {
30+
out.flush();
31+
out.close();
32+
}
33+
}
34+
35+
public static void main(String[] args) throws Exception {
36+
37+
Main main = new Main();
38+
main.solve();
39+
main.close();
40+
}
41+
}

0 commit comments

Comments
 (0)