Add my dist

This commit is contained in:
AZEN-SGG 2025-05-02 04:37:16 +03:00
parent 1053f8e3c2
commit a8b4e4358d
16 changed files with 807 additions and 23 deletions

View file

@ -21,12 +21,15 @@ int t2_solve (
if (fabs(dy) < DBL_EPSILON)
{
it = m+1;
it = -1;
break;
}
x_0 -= (y / dy);
}
if (it > m)
it = -1;
*x = x_0;
return it;