1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
#include <bits/stdc++.h>
using namespace std;
int main()
{
	vector<vector<int>>v(100,vector<int>(100,0));
	for(int i=0; i<=99; i++)
	{
		for(int j=0; j<=99; j+=2)
			v[j][i]=1;
	}
	for(int i=0; i<=99; i++)
		if(i%2==1)
			v[i][0]=1;
		else
			v[i][99]=0;
	swap(v[0][0],v[0][99]);
	for(int i=0; i<100; i++){
		for(int j=0; j<100; j++)
			cout<<v[i][j];
	cout<<"\n";}
}