|
|
вернуться в форумaccepted 0.015 s 112 kb Послано Sunnat 30 апр 2013 17:21 parabola function helps for you !!! k = x1 * x2 * (x2 - x1); a = y2 * x1 - y1 * x2; // a = (y2 * x1 - y1 * x2) / k; b = y1 * x2 * (x2 - x1) - a * x1; // b = (y1 * x2 * (x2 - x1) - a * x1) / k if(y[i] * k == a * x[i] * x[i] + b * x[i]) delete index i ... |
|
|