Result

WA

Code [DL]

import std.stdio;
import std.conv;
import std.math;
void main(){
for(int i=50;--i;){
writeln(sqrt(to!int(readln()[0..7],2)*8+1));
}}

stdin

11010010
00001000
01100010
00010101
00000001
01101011
00011100
11011010
00101101
11000010
01111000
00100111
11010011
01111000
00101010
00001111
01101001
00000011
10011001
10001000
01001110
11100111
00100100
00001110
01000010
00101110
00000000
01101100
01000000
11010111
11000001
00110000
00101001
11101110
01011010
01001110
10111110
00111011
11111101
10111011
00110111
00101011
11100110
10101011
01011001
00001010
01011011
00011110
00000110
11100001

stdout

stderr

/volume/CODE.d(6): Error: std.math.sqrt called with argument types (int) matches both:
/usr/include/dmd/phobos/std/math.d(1585):     std.math.sqrt(float x)
and:
/usr/include/dmd/phobos/std/math.d(1591):     std.math.sqrt(real x)
Failed: ["dmd", "-v", "-o-", "/volume/CODE.d", "-I/volume"]

strace