by@yamayu832
WA
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) endif endfor
00110111 01110011 01000010 00000011 01001110 01010111 01101001 00001111 00000000 10100011 10001110 10010101 00000001 00100110 10100000 10011001 11010000 01111010 11110111 11110100 01111111 10000000 11111101 01100011 10010110 10011001 10011111 10111110 00101101 00011100 00001010 10101011 00010101 01011010 11101010 11010010 11100100 10001101 01011101 10001000 01111000 01101001 01011011 01011100 01011000 00100100 01101110 00000110 11100111 10011011
octave: X11 DISPLAY environment variable not set octave: disabling GUI features parse error near line 11 of file /volume/CODE 'endfor' command matched by 'endif' >>> endif ^ error: source: error sourcing file '/volume/CODE' error: execution exception in /volume/CODE