Result

WA

Code [DL]

#include<math.h>
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

10011001
00000110
00101101
00001111
01011011
11001011
01110111
00001011
00110001
00011100
01001100
11101011
10111100
11011011
10001100
01110110
10010100
10101011
11010010
10110000
00000110
01111000
01001110
11111101
11100111
10111110
00110110
11111000
01111000
00000011
00001010
10100001
01011001
10010011
00010011
11000101
11000011
00000000
01011101
01101001
00000001
00110111
10001000
11101101
01000010
00010101
01011110
00100100
00101001
00100101

stdout

stderr

/tmp/code.c:2: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:2:1: warning: type defaults to ‘int’ in declaration of ‘i’ [-Wimplicit-int]
/tmp/code.c:2: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:2:6: warning: type defaults to ‘int’ in declaration of ‘j’ [-Wimplicit-int]
/tmp/code.c:2: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:2:8: warning: type defaults to ‘int’ in declaration of ‘a’ [-Wimplicit-int]
/tmp/code.c:2: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:2: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:2:42: warning: incompatible implicit declaration of built-in function ‘scanf’
/tmp/code.c:2:42: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’
/tmp/code.c:2: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:2: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:2:86: warning: incompatible implicit declaration of built-in function ‘printf’
/tmp/code.c:2:86: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
/tmp/ccrem3H4.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