Skeleton file

From Progteam

Revision as of 03:44, 25 September 2009 by MuGMaN (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The skeleton file is the basic shell that should be used in any ICPC solution. It's very basic, and should be the first thing typed into the computer at the contest.

Code Packet


//COMPILING & RUNNING: javac Main.java && java Main < input.txt 

import java.util.*;

public class Main {

    public static Scanner in;
 
    public static void main(String[] args) {
        in = new Scanner(System.in);

        doStuff();
    }

    public static void doStuff() {
        int N = in.nextInt();

        for(int i = 0;i < N; i++) {
            solve();
        }
    }

    public static void solve() {
    
    }
}
Personal tools