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
#include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
#define ll long long
#define pll pair<ll, ll>
#define pb push_back
const int s = 500'005;
void f() {
    int n = 100;
    for (int i = 1; i <= n - 1; i++) cout << 0;
    cout << "1\n";
    for (int i = 1; i <= n / 2 - 1; i++){
        for (int j = 1; j <= n - 1; j++) cout << "1";
        cout << "0\n1";
        for (int j = 1; j <= n - 1; j++) cout << "0";
        cout << "\n";
    }
    for (int j = 1; j <= n - 1; j++) cout << "1";
    cout << "0\n";
}
int main() {
    ios_base::sync_with_stdio(0);
    cin.tie(0); cout.tie(0);
    f();
}