Skip to content

Instantly share code, notes, and snippets.

@Onjanirina
Created July 4, 2012 17:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Onjanirina/3048520 to your computer and use it in GitHub Desktop.
Save Onjanirina/3048520 to your computer and use it in GitHub Desktop.
Template for CodeChef
/** Main.java (RAKOTONIAINA Onjanirina)
* Template for CodeChef Main Class, reading from STDIN and writing to STDOUT, STDERR.
*************************************************************************************************/
import java.io.*;
/**
* @class Main
* */
public class Main {
/**
* @param args
*/
public static void main( String[] args) {
try {
BufferedReader reader =new BufferedReader( new InputStreamReader( System.in));
System.out.println("Hello world!");
} catch ( Exception e) {
System.err.println( e.getMessage()); }}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment