Result

AC

Code [DL]

WITH RECURSIVE f(x)AS(SELECT 1 UNION SELECT x+9 FROM f LIMIT 50)SELECT cast(substr((SELECT*FROM i),x,8)as R)IN(0,1,11,110,1010,1111,10101,11100,100100,101101,110111,1000010,1001110,1011011,1101001,1111000,10001000,10011001,10101011,10111110,11010010,11100111,11111101)FROM f;

stdin

00000011
00111011
11010101
10001000
10001110
10011100
01000010
00011100
11111110
01011010
11110001
01010000
00001010
01100101
01100110
01010001
11001100
11010000
10110111
11111101
00101101
11100000
01001110
00011001
11101110
01100111
10111110
01000111
10011001
00110111
00110100
00010101
11100111
01101001
11111001
00001111
11111111
00100100
00001010
00111111
01011011
10101010
00001110
00000000
10101011
01111000
00000001
11010010
00000110
11100111

stdout

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

stderr

strace