by@progrunner17
WA
while a=gets() b=a.to_i 2 i=0 while b>0 b-=i+=1 p b==0 ?1:0end
00001100 10111101 00001111 00010101 10100011 10110001 10001100 00010100 01011011 11111101 11111001 10000100 11100101 01101001 01000101 00110011 00010010 10000111 00111001 01000010 11001111 00011100 11010001 10010010 11000001 11101010 11101000 11100000 00110111 00100100 00000110 01111000 00110001 11010010 00001010 00000000 11111101 10010000 00001010 01001110 00000011 00101101 10011001 10111100 11100111 10001000 00000001 10101011 10111110 00100011
Syntax error in /volume/CODE:4: [1munexpected token: b[0m while b>0 b-=i+=1 [32;1m^[0m