Friday, February 20, 2015

Been doing some challenges on
Also been working on the overworld map editor.

Came here to post my Java template for codeEval challenges:

// Sample code to read in test cases:
public class Main 
    public static void main (String[] args) throws IOException 
        File file = new File(args[0]);
        BufferedReader buffer = new BufferedReader(new FileReader(file));
        String line;
        while ((line = buffer.readLine()) != null) {
            line = line.trim();
            System.out.println( getResults(line) );
    static String getResults(String line)

No comments:

Post a Comment