Carriechenchen @ 2022-10-16 22:25:18
#include<stdio.h>
int main()
{
int n=0;
int temp=1;
int count=0;
int count_num=0;
int numble[10000]={0};
scanf("%d",&n);
while(scanf("%d",&numble[count_num])!=EOF)
{
count_num++;
}
for(int i=0;i<count_num;i++)
{
if(temp==1)
temp=0;
else temp=1;
for(int j=0;j<numble[i];j++)
{
printf("%d",temp);
count++;
if(count%7==0)
printf("\n");
}
}
}