double C[N][N]; ... C[0][0]=1; for(int i=1;i<=300;i++){ C[i][0]=1; for(int j=1;j<=i;j++){ C[i][j]=C[i-1][j-1]+C[i-1][j]; } }
为什么组合数这样预处理到300不会炸