Result

WA

Code [DL]

i;main(n,x){for(putchar(48);x;putchar(48+!n))n=strtol(x=gets(&n),i=0,2);}

stdin

11111100
10101011
00010110
10101001
11010010
00000110
00011100
01001100
00000000
10111000
11001000
01101001
10111110
01111000
11000001
11111101
01001011
11110110
11100111
11000110
01101100
00110111
10011001
01000010
01011011
10100100
00000000
11110010
11110100
01001010
00001010
01001110
00100100
01100111
10001100
00100000
00010101
11010010
11010100
11001011
00000011
00110110
00001111
01100110
10001000
01110001
00011110
10110000
00101101
00000001

stdout

stderr

/tmp/code.c:1:1: warning: data definition has no type or storage class
 i;main(n,x){for(putchar(48);x;putchar(48+!n))n=strtol(x=gets(&n),i=0,2);}
 ^
/tmp/code.c:1:1: warning: type defaults to ‘int’ in declaration of ‘i’ [-Wimplicit-int]
/tmp/code.c:1:3: warning: return type defaults to ‘int’ [-Wimplicit-int]
 i;main(n,x){for(putchar(48);x;putchar(48+!n))n=strtol(x=gets(&n),i=0,2);}
   ^
/tmp/code.c: In function ‘main’:
/tmp/code.c:1:3: warning: type of ‘n’ defaults to ‘int’ [-Wimplicit-int]
/tmp/code.c:1:3: warning: type of ‘x’ defaults to ‘int’ [-Wimplicit-int]
/tmp/code.c:1:17: warning: implicit declaration of function ‘putchar’ [-Wimplicit-function-declaration]
 i;main(n,x){for(putchar(48);x;putchar(48+!n))n=strtol(x=gets(&n),i=0,2);}
                 ^
/tmp/code.c:1:48: warning: implicit declaration of function ‘strtol’ [-Wimplicit-function-declaration]
 i;main(n,x){for(putchar(48);x;putchar(48+!n))n=strtol(x=gets(&n),i=0,2);}
                                                ^
/tmp/code.c:1:57: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration]
 i;main(n,x){for(putchar(48);x;putchar(48+!n))n=strtol(x=gets(&n),i=0,2);}
                                                         ^
/tmp/ccGdGd1m.o: In function `main':
code.c:(.text.startup+0x32): warning: the `gets' function is dangerous and should not be used.
/home/esolang/bin/c-gcc: line 6:    13 Done                    cat -
        14 Segmentation fault      (core dumped) | /tmp/code

strace