Result

WA

Code [DL]

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

stdin

00000001
11101101
11010010
00000011
11001100
00110111
01111000
11100111
01010011
00001001
11111101
10111110
00101101
00000010
00011100
01101100
10101111
10000111
00011001
10001100
11011000
01010010
00100100
01001110
00001010
01100111
11111101
01010001
10101011
10011001
00000110
01001100
01001111
01101001
01110111
10000110
00010101
10001011
01000010
01110110
10001010
10010100
00000000
11010101
00001111
10111111
10111110
01011011
10001000
11111010

stdout

0
118
105
1
102
27
60
115
41
4
126
95
22
1
14
54
87
67
12
70
108
41
18
39
5
51
126
40
85
76
3
38
39
52
59
67
10
69
33
59
69
74
0
106
7
95
95
45
68

stderr

strace