Result

WA

Code [DL]

00000000  6c 71 79 22 61 64 30 73  12 3d 40 61 2a 32 2b 40  |lqy"ad0s.=@a*2+@|
00000010  40 0a 1b 6c 71 49 30 30  1b 5e 71 7a 6c 37 40 79  |@..lqI00.^qzl7@y|
00000020  22 62 63 63 12 3d 66 6d  6f 64 28 73 71 72 74 28  |"bcc.=fmod(sqrt(|
00000030  40 62 2a 38 2b 31 29 2c  31 29 3d 3d 30 0a 1b 6a  |@b*8+1),1)==0..j|
00000040  5e 71 34 39 40 7a 5a 5a  0a                       |^q49@zZZ.|
00000049

Disassembly

lqy"ad0s<C-R>=@a*2+@@<NL><Esc>lqI00<Esc>^qzl7@y"bcc<C-R>=fmod(sqrt(@b*8+1),1)==0<NL><Esc>j^q49@zZZ<NL>

stdin

10000011
11111101
00011100
00010010
11101100
11011100
10000110
00101101
01001110
01111000
00111110
00001010
11010101
00100010
00000001
10001000
00011011
01011110
00001111
10111110
01101001
00100100
00111001
01011101
11001110
10110010
01111100
11001000
11011001
00000110
01011011
00000000
01000010
10101011
00110111
10001111
10100001
00101000
00010101
10000001
00010100
10101011
10111110
11100111
10011001
10000100
00000011
11010010
01100110
00100000

stdout

0
253
00011100
00010010
11101100
11011100
10000110
00101101
01001110
01111000
00111110
00001010
11010101
00100010
00000001
10001000
00011011
01011110
00001111
10111110
01101001
00100100
00111001
01011101
11001110
10110010
01111100
11001000
11011001
00000110
01011011
00000000
01000010
10101011
00110111
10001111
10100001
00101000
00010101
10000001
00010100
10101011
10111110
11100111
10011001
10000100
00000011
11010010
01100110
00100000

stderr

strace