#include <stdio.h>
char *itoa(int ival
, char *str
, int radix
) {
static const char table[] = "01";
char *head = str;
char *tail = str;
char tmp;
if (ival == 0) {
*tail++ = '0';
} else {
for (; ival; ival /= radix) {
*tail++ = table[ival % radix];
}
}
*tail = '\0';
for (tail--; head < tail; head++, tail--) {
tmp = *head;
*head = *tail;
*tail = tmp;
}
return str;
}
int main()
{
char s[33];
int A, B;
B = A << 3;
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgpjaGFyICppdG9hKGludCBpdmFsLCBjaGFyICpzdHIsIGludCByYWRpeCkKewoJc3RhdGljIGNvbnN0IGNoYXIgdGFibGVbXSA9ICIwMSI7CgljaGFyCSpoZWFkID0gc3RyOwoJY2hhcgkqdGFpbCA9IHN0cjsKCWNoYXIJdG1wOwoKCWlmIChpdmFsID09IDApIHsKCQkqdGFpbCsrID0gJzAnOwoJfSBlbHNlIHsKCQlmb3IgKDsgaXZhbDsgaXZhbCAvPSByYWRpeCkgewoJCQkqdGFpbCsrID0gdGFibGVbaXZhbCAlIHJhZGl4XTsKCQl9Cgl9CgkqdGFpbCA9ICdcMCc7Cglmb3IgKHRhaWwtLTsgaGVhZCA8IHRhaWw7IGhlYWQrKywgdGFpbC0tKSB7CgkJdG1wID0gKmhlYWQ7CgkJKmhlYWQgPSAqdGFpbDsKCQkqdGFpbCA9IHRtcDsKCX0KCXJldHVybiBzdHI7Cn0KCmludCBtYWluKCkKewoJY2hhcglzWzMzXTsKCWludAlBLCBCOwoKCXNjYW5mKCIlZCIsICZBKTsKCUIgPSBBIDw8IDM7CglpdG9hKEEsIHMsIDIpOwoJcHJpbnRmKCJBPSVkICVzXG4iLCBBLCBzKTsKCWl0b2EoQiwgcywgMik7CglwcmludGYoIkI9JWQgJXNcbiIsIEIsIHMpOwoJcmV0dXJuIDA7Cn0K