Result

WA

Code [DL]

:for i in range(51)
call setline(i,system("ruby -e 'p 2[1-(".getline(i)."*8+1)**0.5%1]'"))
endfor
ZZ

Disassembly

:for i in range(51)<NL>call setline(i,system("ruby -e 'p 2[1-(".getline(i)."*8+1)**0.5%1]'"))<NL>endfor<NL>ZZ

stdin

01011011
00100100
01000010
00000011
00011100
10110011
01101001
10111110
10100110
01001110
00010101
01001011
11000110
10011001
10111011
10000111
01011100
11000101
00101101
00000001
10101011
11011101
10010111
01110010
10000011
01110000
11001010
00101001
11010010
00000011
11011100
00000110
01111000
10001000
11011010
11100111
01001001
11001110
11010101
00110100
11111101
00001111
00001010
00111111
00110111
00001100
01010100
01000111
10001000
00000000

stdout

0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
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
1

stderr

strace