icfp-solver/src/main/java/ru/bosony/solvers/Solver.java
changeset 35 63f356432f75
parent 34 e837ce78a1c7
child 38 0af2bd7f816a
     1.1 --- a/icfp-solver/src/main/java/ru/bosony/solvers/Solver.java	Mon Jul 16 02:22:14 2012 +0400
     1.2 +++ b/icfp-solver/src/main/java/ru/bosony/solvers/Solver.java	Mon Jul 16 03:56:22 2012 +0400
     1.3 @@ -1,6 +1,7 @@
     1.4  package ru.bosony.solvers;
     1.5  
     1.6  import java.io.BufferedWriter;
     1.7 +import java.io.IOException;
     1.8  import java.io.OutputStreamWriter;
     1.9  
    1.10  import ru.bosony.model.mine.Mine;
    1.11 @@ -20,11 +21,13 @@
    1.12  		writer = new BufferedWriter(new OutputStreamWriter(System.out));
    1.13  	}
    1.14  
    1.15 -	public void start() {
    1.16 -
    1.17 +	public void start() throws IOException {
    1.18 +		// TODO solver
    1.19 +		writer.write("A");
    1.20 +		writer.flush();
    1.21  	}
    1.22  
    1.23 -	public static void main(String[] args) {
    1.24 +	public static void main(String[] args) throws IOException {
    1.25  		String map = "";
    1.26  		for (String arg : args) {
    1.27  			map += arg + "\n";