Created
July 8, 2011 14:15
-
-
Save passos/1071933 to your computer and use it in GitHub Desktop.
Chinese Chess problem solution 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BYTE i = 81; | |
while (i--) | |
{ | |
if (i / 9 % 3 != i % 9 % 3) | |
printf("A = %d, B = %dn", i / 9 + 1, i % 9 + 1); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment