Result

WA

Code [DL]

i;a;b;main(){while(a=getchar()){for(i+=i+a%2;i>b;)i-=b++;putchar(a<11?i=b=0:48+!i)}}

stdin

01000010
01111110
00000101
10101011
01001110
00000110
11101001
00000001
00110110
01101011
00001010
00001111
11100111
11111101
01111000
00001100
01100100
00010101
01000001
01000011
01000110
11000011
00000000
00011100
01100001
11011011
00010100
00010010
00101101
11010010
01011011
10111110
11001001
10001000
10011001
01101001
00110111
11010110
11100110
01111010
00100100
00111011
01111000
10011101
00000011
11111010
01101001
11110110
00111000
10110100

stdout

stderr

/tmp/code.c:1:1: warning: data definition has no type or storage class
 i;a;b;main(){while(a=getchar()){for(i+=i+a%2;i>b;)i-=b++;putchar(a<11?i=b=0:48+!i)}}
 ^
/tmp/code.c:1:1: warning: type defaults to ‘int’ in declaration of ‘i’ [-Wimplicit-int]
/tmp/code.c:1:3: warning: data definition has no type or storage class
 i;a;b;main(){while(a=getchar()){for(i+=i+a%2;i>b;)i-=b++;putchar(a<11?i=b=0:48+!i)}}
   ^
/tmp/code.c:1:3: warning: type defaults to ‘int’ in declaration of ‘a’ [-Wimplicit-int]
/tmp/code.c:1:5: warning: data definition has no type or storage class
 i;a;b;main(){while(a=getchar()){for(i+=i+a%2;i>b;)i-=b++;putchar(a<11?i=b=0:48+!i)}}
     ^
/tmp/code.c:1:5: warning: type defaults to ‘int’ in declaration of ‘b’ [-Wimplicit-int]
/tmp/code.c:1:7: warning: return type defaults to ‘int’ [-Wimplicit-int]
 i;a;b;main(){while(a=getchar()){for(i+=i+a%2;i>b;)i-=b++;putchar(a<11?i=b=0:48+!i)}}
       ^
/tmp/code.c: In function ‘main’:
/tmp/code.c:1:22: warning: implicit declaration of function ‘getchar’ [-Wimplicit-function-declaration]
 i;a;b;main(){while(a=getchar()){for(i+=i+a%2;i>b;)i-=b++;putchar(a<11?i=b=0:48+!i)}}
                      ^
/tmp/code.c:1:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 i;a;b;main(){while(a=getchar()){for(i+=i+a%2;i>b;)i-=b++;putchar(a<11?i=b=0:48+!i)}}
 ^
/tmp/code.c:1:58: warning: implicit declaration of function ‘putchar’ [-Wimplicit-function-declaration]
 i;a;b;main(){while(a=getchar()){for(i+=i+a%2;i>b;)i-=b++;putchar(a<11?i=b=0:48+!i)}}
                                                          ^
/tmp/code.c:1:83: error: expected ‘;’ before ‘}’ token
 i;a;b;main(){while(a=getchar()){for(i+=i+a%2;i>b;)i-=b++;putchar(a<11?i=b=0:48+!i)}}
                                                                                   ^
/home/esolang/bin/c-gcc: line 6: /tmp/code: No such file or directory
rm: cannot remove '/tmp/code': No such file or directory

strace