Alextokc @ 2016-10-17 05:51:41
#include <iostream>
using namespace std;
int main(){
int n,num,x=0;
char a[10009];
cin>>n;
for (int i=1;i<=n;++i){33
cin>>num;
for (int i=0;i<num;++i){
++x;
a[x]='0';
}
cin>>num;
for (int i=0;i<num;++i){
++x;
a[x]='1';
}
}
for (int i=1;i<=x;++i){
cout<<a[i];
if (i%n==0){
cout<<endl;
}
}
return 0;
}
by Alextokc @ 2016-10-17 05:52:57
为什么只对了1个点,该如何修改
by zhzhwz @ 2016-11-13 19:39:09
n是行列数 而不是压缩码对数