Skip to content

Instantly share code, notes, and snippets.

@geakstr
Created September 5, 2017 16:06
Show Gist options
  • Save geakstr/409a7c6546936d427f0a6d3d2190d17e to your computer and use it in GitHub Desktop.
Save geakstr/409a7c6546936d427f0a6d3d2190d17e to your computer and use it in GitHub Desktop.
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