时间限制:2 Sec 内存限制:128 MiB 提交:336 答案正确:141
提交 状态 讨论区
Given an integer N(0 ≤ N ≤ 1000), 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.
1 2 3
1 2 6