Result

AC

Code [DL]

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

stdin

01100100
00100100
01011011
10001000
01111000
01001001
00011100
10101110
10101100
00000011
00011101
10111101
10111110
11011001
11010010
01011011
10100111
00011110
00000001
01101001
00101111
00001111
00101011
10011001
11000101
11000111
11001001
00001011
10010000
01000100
01011010
00000110
01001110
00010101
11111101
00000110
00001001
00110111
00001010
01010100
01111111
00010000
11010111
10101011
01000010
00101101
11100111
00000000
00100101
10100010

stdout

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

stderr

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

strace