1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* 2025
 * Maciej Szeptuch
 */
#include <cstdio>

int main(void)
{
    putchar('1');
    for(int w = 0; w < 98; ++w)
        putchar('0');

    puts("0");
    for(int h = 1; h < 100; ++h)
    {
        putchar('0');
        for(int w = 1; w < 99; ++w)
            putchar(h % 2 ? '1' : '0');

        puts("1");
    }

    return 0;
}