Skip to main content
1 vote
Accepted

Check50 has Blank Output

Would have been great had you stated The problem (preferably with a link to the problem statement) How you tried to invoke check50 The link to the result as text, not a screenshot, or a sanitized ...
Blauelf's user avatar
  • 21k
1 vote
Accepted

Move function keep adding blank tiles in some cases:

If i is row and j is column (as evidenced by board[i][j]), then your "directional" variables are slightly off. left (previous column) would be at board position board[i][j-1]; down (next row) at board ...
DinoCoderSaurus's user avatar
1 vote
Accepted

pset3 fifteen - doesn't work ONLY with blank = 0

You have a serious problem with your tests. For example, look at the following: if(board[blank_x][blank_y] == board[m+1][n] && 0 <= m <= d-2 && 0 <= n <= d-1) More ...
Cliff B's user avatar
  • 69k

Only top scored, non community-wiki answers of a minimum length are eligible