by@yamayu832
AC
for i=0:49 Ninput=input(''); A=[00000000 00000001 00000011 00000110 00001010 00001111 00010101 00011100 00100100 00101101 00110111 01000010 01001110 01011011 01101001 01111000 10001000 10011001 10101011 10111110 11010010 11100111 11111101]; t=0; for j=1:23 if Ninput==A(j) t = 1; endif endfor disp(t) endfor
00100011 11110011 01001110 10001000 00000110 00100110 00100001 00000001 01111111 00001111 11111101 00011011 11010101 10111010 00011010 11000101 10001111 10111110 01101010 01111000 00111011 01010111 01000010 00011100 10100001 01101001 11010001 00010101 11010010 11100100 00001000 11001011 11001001 00100100 10011001 00000000 10101011 11010111 01011011 00110111 11100111 00110111 00001010 10010110 01101011 10110110 00000001 00101101 10101110 00000011
0 0 1 1 1 0 0 1 0 1 1 0 0 0 0 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 0 0 0 1 1 1 1 0 1 1 1 1 1 0 0 0 1 1 0 1
octave: X11 DISPLAY environment variable not set octave: disabling GUI features