Last active
August 29, 2015 14:01
-
-
Save alfredgamulo/b09fd8000a5da67ed34a to your computer and use it in GitHub Desktop.
Java template for Google CodeJam
This file contains 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.util.*; | |
import java.io.PrintStream; | |
import java.util.Scanner; | |
public class A { | |
Scanner sc = new Scanner(getClass().getResourceAsStream(FILENAME)); | |
static final String FILENAME = "file.in"; | |
PrintStream out = System.out; | |
private void run() throws Exception { | |
String s = sc.nextLine(); | |
int t = Integer.parseInt(s); | |
for (int i = 1; i <= t; i++) { | |
out.print("Case #" + i + ": "); | |
out.println("example"); | |
} | |
sc.close(); | |
out.close(); | |
} | |
public static void main(String args[]) throws Exception { | |
new A().run(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment