#include 
int main(){     int a,i=0;     int arr1[16],arr2[16];     scanf("%d",&a);     while(i<32)     {          arr1[i/2]=a%2;          a=a>>1;           i++;          arr2[(i-1)/2]=a%2;          a=a>>1;          i++;     }          printf("奇数列二进制序列为:");     for(i=15;i>=0;i--)     {              printf("%d",arr1[i]);     }          printf("\n偶数列二进制序列为:");     for(i=15;i>=0;i--)     {          printf("%d",arr2[i]);     }return 0;}

输入:24

得出:奇数列二进制序列为:0000000000000100

          偶数列二进制序列为:0000000000000010