Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
can give me sample of test case where this return wrong result? thanks
(hint 1: board[i][j] is uint. what is the value of board[i][j]-1 ? is it equal to -1, or is it equal to something else?)
(hint 2: try to run this code first, edit it and try to print the value of x |= 1 << (board[i][j]-1) to stdout);
board is unsigned int. what happened when unsigned int 0 minus by one?
hint: x|=1 << (board[row][col] -1); is not shifting left by -1. it's something else