Result

WA

Code [DL]

main(s){for(;gets(&s);putchar(48.0+fmod(sqrt(strtol(&s,0,2)*8+1),1)));}

stdin

10110000
11111011
00110111
01100111
11111101
11100111
00001111
10011000
10111110
00000011
01010010
10010100
00100000
01011011
00110001
10011001
11010010
10101011
00011001
11101000
01000010
01001110
11010101
11011001
00100100
00101101
10001011
01000001
01000010
01101001
10011111
00000110
00100010
01010000
00011100
10010000
11110011
00011010
11010011
11000011
10001000
00000001
00010101
00010001
10111001
00000000
00011100
00001010
11101110
01111000

stdout

stderr

/tmp/code.c:1:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
 main(s){for(;gets(&s);putchar(48.0+fmod(sqrt(strtol(&s,0,2)*8+1),1)));}
 ^
/tmp/code.c: In function ‘main’:
/tmp/code.c:1:1: warning: type of ‘s’ defaults to ‘int’ [-Wimplicit-int]
/tmp/code.c:1:14: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration]
 main(s){for(;gets(&s);putchar(48.0+fmod(sqrt(strtol(&s,0,2)*8+1),1)));}
              ^
/tmp/code.c:1:23: warning: implicit declaration of function ‘putchar’ [-Wimplicit-function-declaration]
 main(s){for(;gets(&s);putchar(48.0+fmod(sqrt(strtol(&s,0,2)*8+1),1)));}
                       ^
/tmp/code.c:1:36: warning: implicit declaration of function ‘fmod’ [-Wimplicit-function-declaration]
 main(s){for(;gets(&s);putchar(48.0+fmod(sqrt(strtol(&s,0,2)*8+1),1)));}
                                    ^
/tmp/code.c:1:36: warning: incompatible implicit declaration of built-in function ‘fmod’
/tmp/code.c:1:36: note: include ‘<math.h>’ or provide a declaration of ‘fmod’
/tmp/code.c:1:41: warning: implicit declaration of function ‘sqrt’ [-Wimplicit-function-declaration]
 main(s){for(;gets(&s);putchar(48.0+fmod(sqrt(strtol(&s,0,2)*8+1),1)));}
                                         ^
/tmp/code.c:1:41: warning: incompatible implicit declaration of built-in function ‘sqrt’
/tmp/code.c:1:41: note: include ‘<math.h>’ or provide a declaration of ‘sqrt’
/tmp/code.c:1:46: warning: implicit declaration of function ‘strtol’ [-Wimplicit-function-declaration]
 main(s){for(;gets(&s);putchar(48.0+fmod(sqrt(strtol(&s,0,2)*8+1),1)));}
                                              ^
/tmp/ccBl26nl.o: In function `main':
code.c:(.text.startup+0x5e): warning: the `gets' function is dangerous and should not be used.

strace