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

10101011
10111011
01100011
11100111
11111110
11010010
10001000
01111000
00110111
11010001
00000000
00000001
11011101
01001100
01110011
11101110
11001001
01011011
01001110
11111101
11100100
01000000
10100010
00000011
10001001
00100111
00001111
00101101
11110001
01101001
00010101
00101010
10011001
00011100
01000010
00001100
00010110
10111110
10001000
00001010
10100000
00100011
00000110
00100100
11111011
00110010
01111001
11110101
00000011
01111100

stdout

26.096
27.2947
19.8242
30.348
31.8904
29
23.3452
21.9317
14.7309
28.8617
1
1
29.6816
17.4642
21.3776
30.8707
28.3019
19
17.6918
31.7648
30.2159
16.0312
25.4755
3
23.3452
12.3693
7.54983
13.3041
31
20.4206
9
13
24.6779
10.6301
16.2788
7
9.43398
27.5862
23.3452
6.40312
25.318
11.7047
5
12.0416
31.6386
14.1774
21.9317
31.257
3

stderr

strace