Result

AC

Code [DL]

while read a;do for((i=0,b=2#$a;b>0;b-=++i));do :;done;echo $[!b];done

stdin

00011100
11001101
11111101
00100100
10011001
00000001
11001110
01111000
11010010
01001110
01001110
00000000
11110100
10100011
10001011
00010101
00101101
11011011
01101011
00000010
10111110
00111011
00000011
00111100
01010001
00110111
10001100
10110111
10101011
00100000
11100111
01011110
01100011
10011011
11011100
00100011
01000101
00001111
01011011
11101110
00000110
01101001
11010011
10000111
00010101
01010101
10111000
01000010
00001010
10001000

stdout

1
0
1
1
1
1
0
1
1
1
1
1
0
0
0
1
1
0
0
0
1
0
1
0
0
1
0
0
1
0
1
0
0
0
0
0
0
1
1
0
1
1
0
0
1
0
0
1
1
1

stderr

/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)