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

00110011
01010111
10010001
01101001
00000011
00001010
10001000
11010010
01110010
11010100
00110111
00000000
11111101
00001001
10101000
10111110
10011001
00101010
11101111
00101101
01101111
00000001
11100111
10101011
00010101
00110001
11001110
11010010
00000110
01000010
11101001
10110110
11011000
01011011
11110100
10000110
00001011
01010110
00011100
01001110
00100100
11000100
11110001
01111000
00001111
01101000
00000110
10000011
10011011
00110000

stdout

14.1774
18.5742
24.0208
20.4206
3
6.40312
23.3452
29
21.3776
29.1376
14.7309
1
31.7648
5.74456
25.9422
27.5862
24.6779
13
30.8707
13.3041
21
1
30.348
26.096
9
13.8924
28.7228
29
5
16.2788
30.4795
27
29.4109
19
31.257
23.1733
6.40312
18.5742
10.6301
17.6918
12.0416
28.0179
31
21.9317
7.54983
20.4206
5
22.8254
24.8395

stderr

strace