Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (int i = 0; i < 3; i ++) {
- for (int j = 0; j < 3 ; j ++) {
- if (!arr[i][j].open) continue;
- for (int k = 0; k < 3; k ++) {
- for (int l = 0; l < 3; l ++) {
- if (i == k && j == l) continue;
- if (arr[i][j].val > arr[k][l]) continue;
- // Your code goes here
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment