Result

WA

Code [DL]

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

stdin

10001011
00011110
00110110
01111001
11010010
01000111
01101100
00000001
01000010
00000000
10011011
01110101
01111000
01100101
01001100
11011000
11110011
11111101
11111001
10000100
10111110
11011010
10110011
11100111
01101001
11010010
10001000
00100100
00001111
00000011
10101011
11111010
10101100
00110100
01101001
11101100
00001010
11000010
00101101
01001110
00000110
10011001
00100111
10010100
01011011
11101110
11001111
00110111
00011100
00010101

stdout

stderr

/tmp/code.c:1:1: warning: data definition has no type or storage class
 i;main(x,n){for(;;putchar(48+!n))for(n=strtol(x=gets(&n),i=0,2);n>0/x;n-=i++);}
 ^
/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(x,n){for(;;putchar(48+!n))for(n=strtol(x=gets(&n),i=0,2);n>0/x;n-=i++);}
   ^
/tmp/code.c: In function ‘main’:
/tmp/code.c:1:3: warning: type of ‘x’ defaults to ‘int’ [-Wimplicit-int]
/tmp/code.c:1:3: warning: type of ‘n’ defaults to ‘int’ [-Wimplicit-int]
/tmp/code.c:1:19: warning: implicit declaration of function ‘putchar’ [-Wimplicit-function-declaration]
 i;main(x,n){for(;;putchar(48+!n))for(n=strtol(x=gets(&n),i=0,2);n>0/x;n-=i++);}
                   ^
/tmp/code.c:1:40: warning: implicit declaration of function ‘strtol’ [-Wimplicit-function-declaration]
 i;main(x,n){for(;;putchar(48+!n))for(n=strtol(x=gets(&n),i=0,2);n>0/x;n-=i++);}
                                        ^
/tmp/code.c:1:49: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration]
 i;main(x,n){for(;;putchar(48+!n))for(n=strtol(x=gets(&n),i=0,2);n>0/x;n-=i++);}
                                                 ^
/tmp/ccMznO7X.o: In function `main':
code.c:(.text.startup+0x22): 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