Created
November 3, 2023 09:28
-
-
Save oneman/051875f6456c3bcf6b81e60ac4c2d0b5 to your computer and use it in GitHub Desktop.
Virginia Standard Code for Information Integration
This file contains hidden or 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
#include <stdio.h> | |
/* Virginia Standard Code for Information Integration */ | |
int main(int argc, char **argv) { | |
int i, j; | |
for (i = 1; i < 3*3*3; i++) { | |
printf("%c ", i + 96); | |
for (j = 5 - 1; j >= 0; j--) { | |
putchar(i & (1u << j) ? '1' : '0'); | |
} | |
printf("\n"); | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment