Result

WA

Code [DL]

for _ in range(50):print((8*int(input(),2)+1)**0.5%2)

stdin

10001111
01000101
01111000
01101001
11100111
00000110
00011111
10100001
00001010
01001000
00110111
00011100
11101111
11011110
10110001
00101101
00000010
11011100
10011001
10111110
00010001
10110000
00001111
01010001
10000110
11110000
00000000
01000010
01100010
11000110
00001001
10101011
00111001
00000001
00100111
00100100
01111001
01011011
11111101
11100100
11111101
01001110
01100000
01011101
00010101
11101101
11010010
11010010
00000011
10001000

stdout

1.8378486313772626
1.5159520326096931
1.0
1.0
1.0
1.0
1.7797338380594994
1.9026461420324807
1.0
0.020824298928626916
1.0
1.0
1.7378554572580782
0.15447781671598193
1.6430604494374208
1.0
0.12310562561766059
1.9642705167145706
1.0
1.0
1.7046999107196257
1.536648758246919
1.0
1.475478405713993
0.7566787083183968
1.8292140016222547
1.0
1.0
0.017851452243800026
1.8120584747887634
0.5440037453175304
1.0
1.3775583264319486
1.0
1.6918060129541317
1.0
1.1287648325467607
1.0
1.0
0.7200187265876536
1.0
1.0
1.7308492477240947
1.2946881279123623
1.0
1.5545634807651325
1.0
1.0
1.0
1.0

stderr

strace