summaryrefslogtreecommitdiff
path: root/src/main.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.zig')
-rw-r--r--src/main.zig4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.zig b/src/main.zig
index 2534c17..0e8da4e 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -147,10 +147,12 @@ pub fn main() !void {
// Unreachable because we validate while parsing.
var solver = SudokuSolver.init(board) catch unreachable;
+
+ std.debug.print("input:\n", .{});
try solver.display(stdout);
- std.debug.print("\n", .{});
if (solver.solve()) {
+ std.debug.print("\noutput:\n", .{});
try solver.display(stdout);
} else {
std.debug.print("Unable to solve board\n", .{});