Habseligkeit @ 2022-01-19 14:42:57
#include<bits/stdc++.h>
using namespace std;
int n,x,a[200020],num;
int main(){
cin>>n;
for(int i=1;i<=n;i++){
cin>>x;
if(i%2==0){
for(int j=num+1;j<=num+x;j++)
a[j]=1;
}
num+=x;
}
for(int i=1;i<=n*n;i++){
if(i%7==0){
cout<<a[i]<<endl;
continue;
}
cout<<a[i];
}
}
by coldy_rainy @ 2022-01-19 15:13:40
AC证据
by Habseligkeit @ 2022-01-19 18:58:33
谢谢各位神犇,谢谢!!