Result

WA

Code [DL]

i=50;j;a;char c[9];main(){while(i--){a=0;scanf("%s",&c);for(j=-1;++j<8;)a+=a+c[j]-48;printf("%d",!fmodf(sqrt(a*8+1)+1,2));}}

stdin

11101100
00100100
10101011
01011100
00000110
11101111
01011011
11001011
00011010
00110001
00100100
01100110
10000110
10100001
00001010
01101001
10011001
00000001
00000011
01111000
11010111
00011100
10110010
01000100
11111101
00001111
11110100
10011001
11010010
00100000
10000011
00011110
11110101
10001000
00100011
01001110
11100111
00010101
11101011
10000100
01000010
01010000
10000001
00101101
10111110
10001111
00000000
00110011
00110111
10110001

stdout

stderr

/tmp/code.c:1:1: warning: data definition has no type or storage class
 i=50;j;a;char c[9];main(){while(i--){a=0;scanf("%s",&c);for(j=-1;++j<8;)a+=a+c[j]-48;printf("%d",!fmodf(sqrt(a*8+1)+1,2));}}
 ^
/tmp/code.c:1:1: warning: type defaults to ‘int’ in declaration of ‘i’ [-Wimplicit-int]
/tmp/code.c:1:6: warning: data definition has no type or storage class
 i=50;j;a;char c[9];main(){while(i--){a=0;scanf("%s",&c);for(j=-1;++j<8;)a+=a+c[j]-48;printf("%d",!fmodf(sqrt(a*8+1)+1,2));}}
      ^
/tmp/code.c:1:6: warning: type defaults to ‘int’ in declaration of ‘j’ [-Wimplicit-int]
/tmp/code.c:1:8: warning: data definition has no type or storage class
 i=50;j;a;char c[9];main(){while(i--){a=0;scanf("%s",&c);for(j=-1;++j<8;)a+=a+c[j]-48;printf("%d",!fmodf(sqrt(a*8+1)+1,2));}}
        ^
/tmp/code.c:1:8: warning: type defaults to ‘int’ in declaration of ‘a’ [-Wimplicit-int]
/tmp/code.c:1:20: warning: return type defaults to ‘int’ [-Wimplicit-int]
 i=50;j;a;char c[9];main(){while(i--){a=0;scanf("%s",&c);for(j=-1;++j<8;)a+=a+c[j]-48;printf("%d",!fmodf(sqrt(a*8+1)+1,2));}}
                    ^
/tmp/code.c: In function ‘main’:
/tmp/code.c:1:42: warning: implicit declaration of function ‘scanf’ [-Wimplicit-function-declaration]
 i=50;j;a;char c[9];main(){while(i--){a=0;scanf("%s",&c);for(j=-1;++j<8;)a+=a+c[j]-48;printf("%d",!fmodf(sqrt(a*8+1)+1,2));}}
                                          ^
/tmp/code.c:1:42: warning: incompatible implicit declaration of built-in function ‘scanf’
/tmp/code.c:1:42: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’
/tmp/code.c:1:48: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘char (*)[9]’ [-Wformat=]
 i=50;j;a;char c[9];main(){while(i--){a=0;scanf("%s",&c);for(j=-1;++j<8;)a+=a+c[j]-48;printf("%d",!fmodf(sqrt(a*8+1)+1,2));}}
                                                ^
/tmp/code.c:1:86: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]
 i=50;j;a;char c[9];main(){while(i--){a=0;scanf("%s",&c);for(j=-1;++j<8;)a+=a+c[j]-48;printf("%d",!fmodf(sqrt(a*8+1)+1,2));}}
                                                                                      ^
/tmp/code.c:1:86: warning: incompatible implicit declaration of built-in function ‘printf’
/tmp/code.c:1:86: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
/tmp/code.c:1:99: warning: implicit declaration of function ‘fmodf’ [-Wimplicit-function-declaration]
 i=50;j;a;char c[9];main(){while(i--){a=0;scanf("%s",&c);for(j=-1;++j<8;)a+=a+c[j]-48;printf("%d",!fmodf(sqrt(a*8+1)+1,2));}}
                                                                                                   ^
/tmp/code.c:1:99: warning: incompatible implicit declaration of built-in function ‘fmodf’
/tmp/code.c:1:99: note: include ‘<math.h>’ or provide a declaration of ‘fmodf’
/tmp/code.c:1:105: warning: implicit declaration of function ‘sqrt’ [-Wimplicit-function-declaration]
 i=50;j;a;char c[9];main(){while(i--){a=0;scanf("%s",&c);for(j=-1;++j<8;)a+=a+c[j]-48;printf("%d",!fmodf(sqrt(a*8+1)+1,2));}}
                                                                                                         ^
/tmp/code.c:1:105: warning: incompatible implicit declaration of built-in function ‘sqrt’
/tmp/code.c:1:105: note: include ‘<math.h>’ or provide a declaration of ‘sqrt’
/tmp/ccsEsCYq.o: In function `main':
code.c:(.text.startup+0x9e): undefined reference to `fmodf'
code.c:(.text.startup+0xe2): undefined reference to `sqrt'
collect2: error: ld returned 1 exit status
/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