Result

WA

Code [DL]

i;a;b;main(){for(;a++<50;putc(48+!i,1)){for(i=0,b=9;b--;i+=i+getc(0)%2);for(i/=2;i>0;i-=++b);}}

stdin

00001111
00101101
00010101
01001110
11100111
01011110
00000011
10101011
01011011
10010110
00011100
10001000
01110010
00011111
10001010
11000010
01101101
10011001
10101101
01000010
00011010
00000010
10100100
10010010
01001111
11101001
00010100
00001010
01001011
00100100
00000000
00110010
11111111
00000001
11111101
00000110
00000001
10000011
01011010
01111000
01000000
01001000
00000111
00110111
11010010
10101011
01011100
01101001
10110110
10111110

stdout

stderr

/tmp/code.c:1:1: warning: data definition has no type or storage class
 i;a;b;main(){for(;a++<50;putc(48+!i,1)){for(i=0,b=9;b--;i+=i+getc(0)%2);for(i/=2;i>0;i-=++b);}}
 ^
/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(){for(;a++<50;putc(48+!i,1)){for(i=0,b=9;b--;i+=i+getc(0)%2);for(i/=2;i>0;i-=++b);}}
   ^
/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(){for(;a++<50;putc(48+!i,1)){for(i=0,b=9;b--;i+=i+getc(0)%2);for(i/=2;i>0;i-=++b);}}
     ^
/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(){for(;a++<50;putc(48+!i,1)){for(i=0,b=9;b--;i+=i+getc(0)%2);for(i/=2;i>0;i-=++b);}}
       ^
/tmp/code.c: In function ‘main’:
/tmp/code.c:1:26: warning: implicit declaration of function ‘putc’ [-Wimplicit-function-declaration]
 i;a;b;main(){for(;a++<50;putc(48+!i,1)){for(i=0,b=9;b--;i+=i+getc(0)%2);for(i/=2;i>0;i-=++b);}}
                          ^
/tmp/code.c:1:62: warning: implicit declaration of function ‘getc’ [-Wimplicit-function-declaration]
 i;a;b;main(){for(;a++<50;putc(48+!i,1)){for(i=0,b=9;b--;i+=i+getc(0)%2);for(i/=2;i>0;i-=++b);}}
                                                              ^
/home/esolang/bin/c-gcc: line 6:    13 Done                    cat -
        14 Segmentation fault      (core dumped) | /tmp/code

strace