by@cookies146
WA
50.times puts (8*STDIN.gets.to_i(2)+1)**0.5%2==1?1:0
01001111 00101111 00100100 10111101 00000110 01010010 00010101 00011100 00000001 01111000 10000111 11101001 00101110 00101101 00000011 01000010 10111110 11100111 11011101 11111101 00011101 00000110 10001000 00001010 10111011 10101011 01001110 01101001 00011011 10110010 01100001 11100011 01011011 11000101 11000001 11001001 11110011 10011001 01110111 00000000 00111101 11000100 00110111 11000010 00000000 10111010 11010010 00001111 10000110 00110110
Error in /volume/CODE:1: undefined method 'to_i' for Nil[33;1m (compile-time type is (String | Nil))[0m[33;1m (did you mean 'to_s'?)[0m 50.times puts (8*STDIN.gets.to_i(2)+1)**0.5%2==1?1:0 [32;1m^~~~[0m Rerun with --error-trace to show a complete error trace.