Result

WA

Code [DL]

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

stdin

11101010
10001001
11001011
10111110
11111111
00110111
00100100
00001111
11000111
00000111
00101101
01011011
11010001
00110111
10111011
11110001
10001011
11000001
00000110
11000010
01001110
11110111
10001000
00111011
11100010
10101011
11100100
11111101
00011100
01101001
00001010
10000110
00000010
01111000
00000001
10101110
01000010
10001100
00000110
00111001
01001100
00000011
00000000
10011001
00010101
11010010
11100111
00100001
10010111
01010000

stdout

117
68
101
95
127
27
18
7
99
3
22
45
104
27
93
120
69
96
3
97
39
123
68
29
113
85
114
126
14
52
5
67
1
60
0
87
33
70
3
28
38
1
0
76
10
105
115
16
75

stderr

strace