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