by@moratorium08
WA
while 1:print((int(int(input())*8+1)**.5%1)^1)
10010101 00011110 10101011 00000100 01000010 00010101 00001010 11010011 01111000 00000000 00110111 11100111 11111101 00000111 10011010 01110101 10001011 01011011 01101000 00000110 00110000 00011000 11000110 00011100 11101011 01111000 11010010 00000001 01101001 01100110 00010101 00101101 00001111 01001110 10110110 11100001 10011001 00000011 01011101 01010110 10111110 00100101 00100100 00110110 10001000 11010001 11000001 10010110 10000011 00000010
Traceback (most recent call last): File "/volume/CODE", line 1, in <module> while 1:print((int(int(input())*8+1)**.5%1)^1) TypeError: unsupported operand type(s) for ^: 'float' and 'int'