#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
int isGreater(uint32_t x, uint32_t y)
{
y = ~y;
return !(((x&y) + ((x^y) >> 1)) >> 31);
}
int main(void) {
printf("%d %d %d\n", isGreater
(1, 1), isGreater
(1, 0), isGreater
(0,1)); return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdGRsaWIuaD4KI2luY2x1ZGUgPHN0ZGludC5oPgoKaW50IGlzR3JlYXRlcih1aW50MzJfdCB4LCB1aW50MzJfdCB5KQp7CiAgIHkgPSB+eTsKICAgcmV0dXJuICEoKCh4JnkpICsgKCh4XnkpID4+IDEpKSA+PiAzMSk7Cn0KCmludCBtYWluKHZvaWQpIHsKCXByaW50ZigiJWQgJWQgJWRcbiIsIGlzR3JlYXRlcigxLCAxKSwgaXNHcmVhdGVyKDEsIDApLCBpc0dyZWF0ZXIoMCwxKSk7CglyZXR1cm4gMDsKfQo=