Result

WA

Code [DL]

for i=0:49
	g=hex2dec(fgetl(stdin));
	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

stdin

01101001
11111101
11101111
10011001
10100101
01010100
01111000
00111100
11001010
00011100
01011000
10110011
10111110
11110101
00100100
10011111
10001001
00110111
00000011
01001110
11111101
01111100
00001111
11011001
00101110
00110110
00000100
00000000
10000001
01011011
10001000
11010010
11100111
00000110
01000101
01001101
00000001
11110001
01000111
10101011
10100110
00010101
00110111
01111001
11100110
00001010
11010000
01000010
01101011
00101101

stdout

0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

stderr

octave: X11 DISPLAY environment variable not set
octave: disabling GUI features

strace