grader.h, and main.cpp. Therefore, it is very important for you to make sure that your program can compile with those files in their original unmodified states."There are total 130 test cases for 7 tasks.
Task 1: input_is_valid()
------------------------
10 tests, 10 passed.
Task 2: edit_cell()
------------------------
20 tests, 18 passed.
Task 3: remove_cell()
------------------------
20 tests, 20 passed.
Task 4: gameover()
------------------------
Subtask 1: Gameover
10 tests, 10 passed.
Subtask 2: Game not over
10 tests, 10 passed.
Task 5: sudoku_solver()
------------------------
20 tests, 20 passed.
Task 6: generate_board()
------------------------
20 tests, 20 passed.
Task 7: generate_unique_puzzle()
------------------------
20 tests, 20 passed.
------------------------
Total Score: 128 / 130 = 98.46 %
For exactly how each test case is performed, please refer to the testing main function which can be found in the next section together with the testing instructions.
todo.cpp to the projectvalid_grid and count_solution respectively.Read all assignment instructions again before appeal if you disagree with any of the expected output.
A sample solution can be downloaded in the above TEST package (see the grader.h) for your reference.
Total = 130.00; Mean = 116.54; SD = 24.49
Normalized to 100.0; Mean = 89.65; SD = 18.84
We will perform plagiarism checking at a later time and marks could be adjusted for those who are caught.