[恢]hdu 2212

2011-12-20 15:33:41

地址:http://acm.hdu.edu.cn/showproblem.php?pid=2212

题意:找所有int范围内的数n满足他的各位数的阶乘和等于本身。

mark:打表,只有4个。1、2、145、40585。

代码:

# include <stdio.h>


int main ()
{
puts ("1\n2\n145\n40585") ;
return 0 ;
}



原文地址:https://www.cnblogs.com/lzsz1212/p/2315296.html