大数阶乘的问题
import java.math.BigInteger;
import java.util.Scanner;
public class Main {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner cin = new Scanner ( System.in );
int Case;
BigInteger ans = BigInteger.valueOf ( 1 );
Case = cin.nextInt();
for ( int cnt = 2; cnt <= Case; ++cnt )
ans = ans.multiply( BigInteger.valueOf ( cnt ) );
System.out.println ( ans );
}
}