by@kurgm
AC
while a=gets() b=a.to_i 2 i=1 while b>0 b-=i i+=1 end if b==0 puts 1 else puts 0 end end
10001000 00101111 10000100 00000000 10101101 01111000 10011001 11001101 11111110 11101010 01101001 00110111 01000111 11010010 01100110 10101000 00011100 11010101 10010001 01011011 11101101 00011101 10111110 01000010 01001110 11111101 10000010 11011010 00101000 00000000 00000001 00000011 10100111 00000111 00000110 00100100 00010100 00001111 00001010 11010100 00011100 00010101 11110000 10011010 00111000 10110111 11100111 11010111 10101011 00101101
1 0 0 1 0 1 1 0 0 0 1 1 0 1 0 0 1 0 0 1 0 0 1 1 1 1 0 0 0 1 1 1 0 0 1 1 0 1 1 0 1 1 0 0 0 0 1 0 1 1