#include <stdio.h>
#include <string.h>
void reverse(const char *str)
{
char *pos
= str
+ strlen(str
) - 1; while (pos
>= str
) putchar(*pos
--); }
int main(void)
{
reverse("foobarfizzbuzz");
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdHJpbmcuaD4KCnZvaWQgcmV2ZXJzZShjb25zdCBjaGFyICpzdHIpCnsKICAgIGNoYXIgKnBvcyA9IHN0ciArIHN0cmxlbihzdHIpIC0gMTsKICAgIHdoaWxlIChwb3MgPj0gc3RyKSBwdXRjaGFyKCpwb3MtLSk7CiAgICBwdXRjaGFyKCdcbicpOwp9CgppbnQgbWFpbih2b2lkKQp7CiAgICByZXZlcnNlKCJmb29iYXJmaXp6YnV6eiIpOwogICAgcmV0dXJuIDA7Cn0=