Result

WA

Code [DL]

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

stdin

00110111
11000000
00100100
11001000
00000011
00001101
00010111
10110110
00000001
11010010
01000010
01010101
00010101
11101010
00000000
00101101
11011011
10001000
00000110
00001111
00110000
11010001
01001110
10011110
11111001
11101001
00010101
00011100
01111000
10101011
01001111
00001000
01011100
00100100
00000101
10111110
01010011
11100111
01011011
10011001
11111101
10100011
11010000
11110011
11011100
10101001
00001010
01101100
01101001
10100110

stdout

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

strace