public class jc {
public static void main(String[] args){
int i=1,t=1,sum=1,a=0;
for(i=1;i<=10;i++) {
for(t=1;t<=i;t++) {
sum=sum*t;
}
a=a+sum;
sum=1;
}
System.out.println(a);
}
}
03-20
136
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
04-24
2万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
10-25
08-16
579
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)