1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#include <bits/stdc++.h> 
using namespace std;
#define st first
#define nd second
typedef long long ll;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
bool czy[109][109];


int main()
{
    ios_base::sync_with_stdio(0);
    cin.tie(0);
    
    czy[2][1] = 1;
    for(int i = 1 ; i <= 100 ; i++)
    {
        if(i%2)
        {
            for(int j = 1 ; j <= 100 ; j++)czy[i][j] = 1;
            if(i == 1);
            else czy[i][100] = 0;
        }
        else
        {
            if(i != 2)czy[i][1] = 1;
        }
    }
    czy[1][1] = 0;

    for(int i = 1; i <= 100 ; i++)
    {
        for(int j = 1 ; j <= 100 ;j++)
        {
            cout << czy[i][j] ;
        }
        cout << '\n';
    }
   
    
    return 0;
}