by@cookies146
WA
50.times{a=(((8*gets.to_i+1)**(0.5)-1)/2);p(a.to_i==a?1:0)}
11111101 11111100 00101010 01110011 11100001 10011100 11111010 00100100 11010010 00000011 11100011 10011001 01010100 01001000 01100010 00000000 10011011 00001010 01101010 00110111 00000001 00000111 01111000 10101011 00001111 01101001 10001000 00011100 01010111 10000111 11011011 00010101 10101011 00011000 01001110 01011110 00100101 00110100 10111110 11000011 01100000 00101101 01011011 11110001 01000010 11100111 00000110 01101100 10101011 01101111
/volume/CODE:1: syntax error, unexpected tINTEGER, expecting keyword_do or '{' or '(' +1)**(0.5)-1)/2);p(a.to_i==a?1:0)} ^