📄 3199.txt
字号:
Source
Problem Id:3199 User Id:fzk
Memory:2936K Time:250MS
Language:Java Result:Accepted
Source
import java.math.BigInteger;
import java.util.*;
public class Main
{
static BigInteger c[][] = new BigInteger[11][26];
public static void main(String args[])
{
Scanner cin = new Scanner(System.in);
int i, j;
for( i=1; i<11; i++ )
c[i][0] = BigInteger.ONE;
for( i=1; i<11; i++ )
for( j=1; j<=25; j++ )
c[i][j] = c[i][j-1].multiply( BigInteger.valueOf(i) );
while( true ) {
i = cin.nextInt();
j = cin.nextInt();
if( i == 0 && j == 0 )
break;
System.out.println( c[i][j] );
}
return;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -