int Combination(int n, int m)
{
int y;
if (m == 0 || n == 0 || n == m)
{
y = 1;
}
else
{
y = Combination(n - 1, m - 1) + Combination(n - 1, m);
}
return y;
}
double error(vector Point)
{
double sum = 0;
for (int i = 0; i < Point.size(); i++)
{
sum += Point[i];
}
return sum;
}
sdfdghj
最新推荐文章于 2024-11-16 17:11:00 发布