File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
src/main/java/com/lzw/solutions/uva/p1671 Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments