>>607
#include <stdlib.h>
#include <stdlib.h>
#include <time.h>

:
:

time_t t;
int x;
int i;
srand((unsigned) time(&t));

for (i = 0; i < 5; i++) {
x = rand();
if (x % 2) {
row[i] = 0;
}
else {
row[i] = 1;
}
}