英文原题:题目来源:https://acs.jxnu.edu.cn/problem/HDU1042
N!
5000ms 262144K
描述:
Given an integer N(0 ≤ N ≤ 10000), your task is to calculate N!
输入:
One N in one line, process to the end of file.
输出:
For each N, output N! in one line.
翻译:
N!
描述:
给一个整数N(0 ≤ N ≤ 10000),你需要计算N的阶乘。
输入:
每个N占一行,输入为空时结束输入。
输出:
每个N,输入一行N的阶乘。