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

01100010
00011100
11101100
01011010
10001000
01110011
00011100
10101011
10011001
00000000
01111110
00000101
01011100
10111110
00000001
10101100
11011001
01011011
01001110
00010101
00000110
01000100
11010010
10100010
11101111
10010001
11111101
10011111
00101101
01000000
00101011
11000111
11100111
11111010
01101001
00001111
00011001
11011110
00100100
01111000
11100001
01000010
00111110
00001010
00000011
10101011
10101111
00110111
11010011
01001001

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/ccoUYbOl.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