Created
September 5, 2017 16:06
-
-
Save geakstr/409a7c6546936d427f0a6d3d2190d17e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.*; | |
import java.util.*; | |
public class Main { | |
void solve() throws IOException { | |
//////////////////// | |
// Your code here // | |
//////////////////// | |
} | |
///////////////////////////////////////////// | |
// The code below is not important for now // | |
/////////////////////////////////////////// | |
BufferedReader in; | |
PrintWriter out; | |
StringTokenizer st; | |
public Main() throws IOException { | |
Locale.setDefault(Locale.US); | |
in = new BufferedReader(new InputStreamReader(System.in)); | |
out = new PrintWriter(new OutputStreamWriter(System.out)); | |
solve(); | |
in.close(); | |
out.close(); | |
} | |
String nextString() throws IOException { | |
if (st == null || !st.hasMoreTokens()) { | |
st = new StringTokenizer(in.readLine()); | |
} | |
return st.nextToken(); | |
} | |
int nextInt() throws IOException { | |
return Integer.valueOf(nextString()); | |
} | |
long nextLong() throws IOException { | |
return Long.valueOf(nextString()); | |
} | |
double nextDouble() throws IOException { | |
return Double.valueOf(nextString()); | |
} | |
public static void main(String args[]) throws IOException { | |
new Main(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment