Result

WA

Code [DL]

a=255.times{|i|i.times.inject(&:+)}
puts $<.split.map{|x|a.index(x.to_i(2))?1:0}

stdin

11010010
00011100
10100010
10110001
01011011
11100111
00100010
10010110
10101011
10011001
10111110
00110100
00101010
00000011
00000001
00010110
01111101
01001110
10101000
01110110
11110101
11001010
01101001
01000110
00000110
00100100
00000000
01101110
00001010
00010011
00110010
00001111
00010101
11100111
00110111
00111110
01000010
10010000
01110100
10101111
00101110
10001000
10111011
01100000
00100100
00000100
00101101
10000011
11111101
01111000

stdout

stderr

<internal:golf_prelude>:14:in `method_missing': undefined method `split' for ARGF:ARGF.class (NoMethodError)
	from /volume/CODE:2:in `<main>'

strace