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xFF,0xFF,0xFC,0xC3,0x3F,0xFF,
|
|
0xFE,0xE1,0x1F,0xFF
|
|
};
|
|
|
|
unsigned short combined[83];
|
|
|
|
int main(int argc, char **argv) {
|
|
|
|
int i,j;
|
|
|
|
|
|
for(i=0;i<83;i++) {
|
|
combined[i]=(surtb4[i]<<8)|(surtb3[i]&0xff);
|
|
}
|
|
|
|
for(j=0;j<16;j++) {
|
|
printf("%d: ",j);
|
|
|
|
for(i=0;i<83;i++) {
|
|
if (!(combined[i]&(1<<j))) printf("%d ",i);
|
|
}
|
|
printf("\n");
|
|
}
|
|
|
|
|
|
}
|