"""
P1319 压缩技术(python3实现)
https://www.luogu.com.cn/problem/P1319
"""
t=0
a=list( map( int,input().split() ) )
n=a[0]
i=0
s=0
while s<n*n:
i+=1
b=a[i]
while b>=1:
if t==n:
print()
t=0
if i%2==1:
print("0",end='')
else:
print("1",end='')
t+=1
s+=1
b-=1
print()
P1319 压缩技术(python3实现)
最新推荐文章于 2024-07-14 22:18:32 发布