From ad91578a92bbca8b8bffd4d7c85f1a87d5031944 Mon Sep 17 00:00:00 2001 From: po79yr3at Date: Sun, 29 Oct 2023 15:13:23 +0800 Subject: [PATCH] ADD file via upload --- judge.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 judge.c diff --git a/judge.c b/judge.c new file mode 100644 index 0000000..ea9500a --- /dev/null +++ b/judge.c @@ -0,0 +1,13 @@ +#include "all.h" + +int main(){ + ptrInit(); + initRandomSeed(); + struct Sudoku a; + sudokuCopy(sudokuRandomGenerate(10), &a); + printf("The original Sudoku matrix: \n"); + sudokuPrint(a); + sudokuJudge(a); + return 0; + ptrClear(); +} \ No newline at end of file