by@cookies146
WA
a=255.times{|i|i.times.inject(&:+)} puts 255.gets.split.map{|x|a.index(x.to_i(2))?1:0}
01011011 00111110 00000011 00110111 00110001 11001011 00001111 01111000 01110100 10001000 01101001 10111110 00000000 11100100 00100100 01001110 00110111 01101110 11100111 00101101 11111101 11010010 10110011 10111100 11011101 10101011 10001001 01000010 00011100 00011011 11110000 01110001 00001010 01000010 00100111 11101110 01101101 10100001 00000110 10010011 10011001 00010101 00000001 10101111 11010110 10110110 11011010 00101001 00001000 01000000
<internal:golf_prelude>:14:in `singleton_class': can't define singleton (TypeError) from <internal:golf_prelude>:14:in `method_missing' from /volume/CODE:2:in `<main>'