英文原题:题目来源: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的阶乘。
本文介绍了一个简单的程序问题,即给定一个整数N(0≤N≤10000),如何计算并输出N的阶乘。输入为一系列整数N,当输入为空时结束;对于每个N,输出其阶乘。
732

被折叠的 条评论
为什么被折叠?



