Skip to content

Commit

Permalink
Updated test
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-egorov42 committed Nov 15, 2023
1 parent b6c8438 commit 82d531c
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions e2e_test/nqueens-test.c
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
const int SIZE = 14; // N queens.
#define SIZE 14 // N queens.

// I don't know why you can't create board[SIZE][SIZE],
// this fucking shit swears at variable.
// So, you need to change the number in both places.

int board[14][14];
int results_count = 0; // Number of solves.
int board[SIZE][SIZE];
int results_count = 0;

int tryQueen(int a, int b)
{
Expand Down

0 comments on commit 82d531c

Please sign in to comment.