12801: 第8章:数组8.18(选做)大数的存储问题
Memory Limit:2 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:2
Solved:0
Description
挑战类型表示的极限------大数的存储问题。编程计算并输出1~40之间的所有数的阶乘。提示:用一个包含50个元素的数组存储一个大数,每个数组元素存储大数中的一位数字。
Input
1个数,表示n的值。
Output
输出n行。输出1~n之间的所有数的阶乘。
Sample Input Copy
12
Sample Output Copy
1
2
6
24
120
720
5040
40320
362880
3628800
39916800
479001600