#include <stdio.h>
char *input_1 = "11"; // al posto di argv[1];
int
fatt (int x)
{
if (x > 1)
{
return (x * fatt (x - 1));
}
else
{
return 1;
}
}
int
main (int argc, char *argv[])
{
int x;
int z;
z = fatt (x);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgpjaGFyICppbnB1dF8xID0gIjExIjsgLy8gYWwgcG9zdG8gZGkgYXJndlsxXTsKCmludApmYXR0IChpbnQgeCkKewogICAgaWYgKHggPiAxKQogICAgICB7CiAgICAgICAgcmV0dXJuICh4ICogZmF0dCAoeCAtIDEpKTsKICAgICAgfQogICAgZWxzZQogICAgICB7CiAgICAgICAgcmV0dXJuIDE7CiAgICAgIH0KfQoKaW50Cm1haW4gKGludCBhcmdjLCBjaGFyICphcmd2W10pCnsKICAgIGludCB4OwogICAgaW50IHo7CgogICAgc3NjYW5mIChpbnB1dF8xLCAiJWkiLCAmeCk7CgogICAgeiA9IGZhdHQgKHgpOwoKICAgIHByaW50ZiAoIiVpISA9ICVpXG4iLCB4LCB6KTsKCiAgICByZXR1cm4gMDsKfQ==