Skip to content

Instantly share code, notes, and snippets.

@sheep0x
Created April 19, 2015 08:18
Show Gist options
  • Save sheep0x/cf55a8a07a6ea48aca09 to your computer and use it in GitHub Desktop.
Save sheep0x/cf55a8a07a6ea48aca09 to your computer and use it in GitHub Desktop.
Simple code template for OI/ACM/OJ.
import java.util.Scanner;
import java.util.Locale;
import java.io.PrintStream;
public class /* name */ {
private static final Scanner stdin;
private static final PrintStream stdout = System.out;
private static final PrintStream stderr = System.err;
static {
stdin = new Scanner(System.in, "UTF-8");
stdin.useLocale(Locale.ROOT);
}
public static void main(String[] args) {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment