#include <stdint.h>
#include <stdbool.h>
#include <stdio.h>
#include <time.h>
#include <stdlib.h>
#include <assert.h>
#include <limits.h>
void print_binary(uint8_t number);
void print_binary(uint8_t number)
{
if (number >> 1) {
print_binary(number >> 1);
}
putc((number
& 1) ? '1' : '0', stdout
); }
int main(void) {
print_binary(42);
print_binary(0);
print_binary(-12);
return 0;
}
I2luY2x1ZGUgPHN0ZGludC5oPgojaW5jbHVkZSA8c3RkYm9vbC5oPgojaW5jbHVkZSA8c3RkaW8uaD4KI2luY2x1ZGUgPHRpbWUuaD4KI2luY2x1ZGUgPHN0ZGxpYi5oPgojaW5jbHVkZSA8YXNzZXJ0Lmg+CiNpbmNsdWRlIDxsaW1pdHMuaD4KCgp2b2lkIHByaW50X2JpbmFyeSh1aW50OF90IG51bWJlcik7Cgp2b2lkIHByaW50X2JpbmFyeSh1aW50OF90IG51bWJlcikKewogICAgaWYgKG51bWJlciA+PiAxKSB7CiAgICAgICAgcHJpbnRfYmluYXJ5KG51bWJlciA+PiAxKTsKICAgIH0KICAgIHB1dGMoKG51bWJlciAmIDEpID8gJzEnIDogJzAnLCBzdGRvdXQpOwp9CgppbnQgbWFpbih2b2lkKSB7CglwcmludF9iaW5hcnkoNDIpOwoJcHJpbnRmKCJcbiIpOwoJcHJpbnRfYmluYXJ5KDApOwoJcHJpbnRmKCJcbiIpOwoJcHJpbnRfYmluYXJ5KC0xMik7CglwcmludGYoIlxuIik7CglyZXR1cm4gMDsKfQo=