by@yamayu832
WA
for i=0:49 g=hex2dec(input('')); A=[0 1 3 6 10 15 21 28 36 45 55 66 78 91 105 120 136 153 171 190 210 231 253]; t=0; disp(any(all(A==g))) endfor
00000110 00000001 00011001 10101111 11111110 10111110 01001111 11111100 10011001 11011110 01101001 01000111 01111101 11001100 01111000 01011110 01101001 11000100 11101101 00010101 00000000 11111101 01001110 10101011 01101001 00100100 00001111 10001000 10011111 00001001 11101110 00101101 10100100 11111010 10111111 01110100 00001101 01101000 01100101 11010010 01000101 01011011 00011100 00110111 00000011 00001010 11100111 01000001 01001011 01000010
octave: X11 DISPLAY environment variable not set octave: disabling GUI features error: base2dec: S must be a string or cellstring error: execution exception in /volume/CODE