#include <stdio.h> #include <stdlib.h> #include <time.h> int main (void) { int a; int b; int i; time_t t; srand ((unsigned) time (\&t)); a = rand () % 8192; printf ("%in", a); b = rand () % 8192; for (i = 13; i >= 0; i--) printf ("%i", (b >> i)\&1); printf ("n"); return 0; }
8024 00010010110000
2023 01001001101100