by@progrunner17
WA
while a=gets()b=a.to_i 2 i=0 while b>0 b-=i+=1 end p b==0 ?1:0end
01010001 11100111 00010011 00000001 11101111 10111110 01111000 00010101 10011001 10001000 10101011 00111101 01010100 10100100 11000101 00101101 11110110 01101001 10011111 00000110 01011011 10001111 11100010 00000011 01001110 00011100 00001111 10011100 01110010 01010111 10101000 01110001 00001011 00001001 11111101 00100100 01000010 11010010 01010011 10011011 01101111 00001010 00110111 00111000 10001000 01011010 00000100 00000000 00011110 01000010
Syntax error in /volume/CODE:1: [1munexpected token: b[0m while a=gets()b=a.to_i 2 [32;1m^[0m