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..8],2));
}}

stdin

11111101
10101110
00000111
01111010
10110011
11110010
01011110
10011001
00110011
01111000
11100100
00011100
01011011
00000110
10001000
01001011
10101011
00010101
11110100
00001010
11000011
11100111
11000110
01100101
11010110
10111101
11000001
01010101
10111110
01111011
00110001
11001011
01011100
00101101
01101001
01001110
00100100
01000010
01110010
00000011
10110000
00000000
11010010
01001110
00110111
01000010
01000000
00000001
10000101
00001111

stdout

253
174
7
122
179
242
94
153
51
120
228
28
91
6
136
75
171
21
244
10
195
231
198
101
214
189
193
85
190
123
49
203
92
45
105
78
36
66
114
3
176
0
210
78
55
66
64
1
133
15

stderr

strace