1830: 【CSP函数】求一个三位数▅

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:4 Solved:4

Description

求这样一个三位数,该三位数等于其每位数字的阶乘之和, 即 lns="http://www.w3.org/1998/Math/MathML">abc=a!+b!+c!

(lns="http://www.w3.org/1998/Math/MathML">n! 表示 lns="http://www.w3.org/1998/Math/MathML">n 的阶乘, lns="http://www.w3.org/1998/Math/MathML">n!=1×2×3××n,如:lns="http://www.w3.org/1998/Math/MathML">5!=1×2×3×4×5)

Output

输出这个数