Main

mail@pastecode.io avatar
unknown
java
a year ago
458 B
0
Indexable
Never
import java.util.List;

public class Main
{
    public static void main(String[] args)
    {
        FourQueens solver = new FourQueens(4);
        List<List<String>> solutions = solver.solve();
        for (List<String> solution : solutions)
        {
            System.out.println("Solution:");
            for (String row : solution)
            {
                System.out.println(row);
            }
            System.out.println();
        }
    }
}