Result

WA

Code [DL]

WITH RECURSIVE m(x,l,r) AS (
SELECT 1, NULL AS l, substr(v, 0) AS r FROM i
UNION ALL
SELECT x + 1, CASE WHEN substr(r,1,8)='00000000' or substr(r,1,8)='00000001' or substr(r,1,8)='00000011' or substr(r,1,8)='00000110' or substr(r,1,8)='00001010' or substr(r,1,8)='00001111' or substr(r,1,8)='00010101' or substr(r,1,8)='00011100' or substr(r,1,8)='00100100' or substr(r,1,8)='00101101' or substr(r,1,8)='00110111' or substr(r,1,8)='01000010' or substr(r,1,8)='01001110' or substr(r,1,8)='01011011' or substr(r,1,8)='01101001' or substr(r,1,8)='01111000' or substr(r,1,8)='10001000' or substr(r,1,8)='10011001' or substr(r,1,8)='10101011' or substr(r,1,8)='10111110' or substr(r,1,8)='11010010' or substr(r,1,8)='11100111' or substr(r,1,8)='11111101' THEN 1 ELSE 0 END AS l, substr(r, 10) AS r
FROM m
WHERE r != ''
)
SELECT l FROM m WHERE l != NULL

stdin

11100101
10100011
01101001
00000000
00001001
10101001
00000011
01110000
00010110
01111110
01110011
01011011
11011100
11111101
00011100
11101001
10111110
10001101
10010110
10001000
11110010
01010010
11010010
00110111
10111101
11000101
10000001
00010101
11100111
00000011
00010111
10011000
00001111
01111000
01011100
00000110
10101011
11011101
01111100
00001010
01100111
00111110
01001110
01010000
00100100
00000001
00000110
01000010
00101101
10011001

stdout

stderr

strace