void init(void)
{
int fulld = 1;
for (int i = 0; i < d; i++)
{
for (int j = 0; j < d; j++)
{
board[i][j] = dd- fulld;
fulld ++;
}
}
board[d-1][d-1] = 0;
if(dd)%2 == 0)
{
board[d-1][d-2] = 2;
board[d-1][d-3] = 1;
}
}
I am facing problem in init function. It shows up same error everytime that incorrect length 26, should be 18. I am using latest version of cs50
Sumit Batra
- 1
- 1