Result

WA

Code [DL]

module a;real x,y;initial repeat(50)begin
y=$fscanf(1<<31,"%b",x);
$write("%d\n",(8*x+1)**0.5);
end endmodule

stdin

00100100
01010001
00101110
01000101
10101011
00000011
10110101
01111000
11100111
00111011
00000010
11001100
01100100
11010010
00001010
00001111
01011011
11110100
10010101
01000010
00000000
00000110
11101011
01101111
10001000
11111100
00110111
01100110
01101001
10110111
11100111
11101001
01100111
00101101
01111111
01111101
11000101
01001110
10111110
00111100
11111101
10011001
10010000
01001000
00100110
00000001
00000000
00011100
11100010
00010101

stdout

17
25
19
24
37
5
38
31
43
22
4
40
28
41
9
11
27
44
35
23
1
7
43
30
33
45
21
29
29
38
43
43
29
19
32
32
40
25
39
22
45
35
34
24
17
3
1
15
43
13

stderr

strace