#include <stdio.h>
int factorical(int n){
int i,x=1;
for(i=1;i<=n;i++)
{
x*=i;
}
return x;
}
int main(void) {
int x,m;
x=factorical(m);
printf("%d個の中から個を取り出す組み合わせ数は、%d通りです。",m
,x
); return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CmludCBmYWN0b3JpY2FsKGludCBuKXsKCWludCBpLHg9MTsKCWZvcihpPTE7aTw9bjtpKyspCgl7CgkJeCo9aTsKCX0KCXJldHVybiB4Owp9CgppbnQgbWFpbih2b2lkKSB7CglpbnQgeCxtOwoJc2NhbmYoIiVkIiwmbSk7Cgl4PWZhY3RvcmljYWwobSk7CglwcmludGYoIiVk5YCL44Gu5Lit44GL44KJ5YCL44KS5Y+W44KK5Ye644GZ57WE44G/5ZCI44KP44Gb5pWw44Gv44CBJWTpgJrjgorjgafjgZnjgIIiLG0seCk7CglyZXR1cm4gMDsKfQoK