Result

WA

Code [DL]

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

Disassembly

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

stdin

11111110
00000000
01110110
11100100
01101100
10111110
01111110
01101001
01001110
01011011
10011101
01000011
10001101
00000001
00000110
00101101
01110101
00010101
10101011
10001000
11101100
10011001
01000010
01111000
11010010
11010010
01100101
00001010
01111101
11111101
01000000
10110101
00001111
00110111
00000010
00000011
11000100
00101100
11100111
00010010
01001111
00011001
00100100
01010011
10001111
11100111
01100010
00001110
11001010
00011100

stdout

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

stderr

strace