Result

WA

Code [DL]

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

stdin

11011101
10011001
00101101
01110100
00110111
11101011
00011100
00101000
00000001
10001000
00001001
11010010
10011110
00100001
00111001
01000101
00001010
10010000
10111101
10101110
00000011
00000110
00011010
01111010
00011111
01011011
11011001
00000000
11001011
11001101
10101011
11011110
11011011
10111110
10111001
01001001
10111011
10011001
11111101
00100100
00010101
01101001
00001111
00000001
00110011
01001110
11100111
01111000
01000010
01010010

stdout

stderr

/tmp/code.c:1:1: warning: data definition has no type or storage class
 i;main(x,n){for(;x;putchar(48+!n))for(n=strtol(x=gets(&n),i=0,2);n>0;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(;x;putchar(48+!n))for(n=strtol(x=gets(&n),i=0,2);n>0;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:20: warning: implicit declaration of function ‘putchar’ [-Wimplicit-function-declaration]
 i;main(x,n){for(;x;putchar(48+!n))for(n=strtol(x=gets(&n),i=0,2);n>0;n-=i++);}
                    ^
/tmp/code.c:1:41: warning: implicit declaration of function ‘strtol’ [-Wimplicit-function-declaration]
 i;main(x,n){for(;x;putchar(48+!n))for(n=strtol(x=gets(&n),i=0,2);n>0;n-=i++);}
                                         ^
/tmp/code.c:1:50: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration]
 i;main(x,n){for(;x;putchar(48+!n))for(n=strtol(x=gets(&n),i=0,2);n>0;n-=i++);}
                                                  ^
/tmp/ccJ4S1Ab.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