Skip to content

Commit 4444184

Browse files
committed
add
1 parent 011459d commit 4444184

File tree

3 files changed

+59
-1
lines changed

3 files changed

+59
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ out
1111
*.spj
1212
*.stderr
1313
*.stdout
14-
main*
1514
!main*.cpp
1615
target
1716
Cargo.lock

uva/11300/src/Main.java

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
import java.io.BufferedReader;
2+
import java.io.IOException;
3+
import java.io.InputStreamReader;
4+
import java.io.PrintWriter;
5+
6+
public class Main {
7+
8+
BufferedReader in;
9+
PrintWriter out;
10+
11+
Main() {
12+
in = new BufferedReader(new InputStreamReader(System.in));
13+
out = new PrintWriter(System.out);
14+
}
15+
16+
void close() throws IOException {
17+
in.close();
18+
out.flush();
19+
out.close();
20+
}
21+
22+
public static void main(String[] args) throws IOException {
23+
Main m = new Main();
24+
m.solve();
25+
m.close();
26+
}
27+
28+
void solve() {
29+
30+
}
31+
}

uva/165/src/Main.java

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import java.io.BufferedReader;
2+
import java.io.IOException;
3+
import java.io.InputStreamReader;
4+
import java.io.PrintWriter;
5+
6+
public class Main {
7+
8+
private final BufferedReader in;
9+
private final PrintWriter out;
10+
11+
public Main() {
12+
in = new BufferedReader(new InputStreamReader(System.in));
13+
out = new PrintWriter(System.out);
14+
}
15+
16+
private void close() throws IOException {
17+
in.close();
18+
out.close();
19+
}
20+
21+
public static void main(String[] args) throws IOException {
22+
Main m = new Main();
23+
m.solve();
24+
}
25+
26+
private void solve() {
27+
}
28+
}

0 commit comments

Comments
 (0)