1 package ru.bosony.solvers;
3 import java.io.BufferedWriter;
4 import java.io.IOException;
5 import java.io.OutputStreamWriter;
7 import ru.bosony.model.mine.Mine;
10 * @author indvdum (gotoindvdum[at]gmail[dot]com) <br>
17 protected BufferedWriter writer;
19 public Solver(Mine mine) {
21 writer = new BufferedWriter(new OutputStreamWriter(System.out));
24 public void start() throws IOException {
30 public static void main(String[] args) throws IOException {
32 for (String arg : args) {
35 map = map.replaceAll("\n$", "");
36 Mine mine = new Mine(map);
37 Solver solver = new Solver(mine);