by@cookies146
WA
a=255.times{|i|i.times.inject(&:+)} 50.times{puts a.index(gets.to_i(2))?1:0}
01000001 00000110 01110001 01101001 00001111 11010010 10000100 01101001 00101101 00011100 01011111 00000001 00001010 10000110 10001000 10110110 01011011 01000111 00000011 01010010 01101110 11100111 10100000 01000011 11011100 11010101 11110011 00100100 10101111 01111000 10000010 00000011 00000000 00000101 00110001 11111101 00010001 11101111 11011001 10101011 01000010 00010101 10111000 00110111 00101110 10111110 10011001 11000111 01001110 01111001
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1