Initialization
This commit is contained in:
parent
09d3c1fe2b
commit
4fc410c322
@ -15,10 +15,12 @@ int main() {
|
|||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
x = coefs[0];
|
||||||
|
|
||||||
length = count;
|
length = count;
|
||||||
|
|
||||||
for (int i = 1; i < length; i ++){
|
for (int i = 1; i < length; i ++){
|
||||||
result += coefs[0]^i + coefs[i];
|
result = result * x + coefs[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("Result: %d\n", result);
|
printf("Result: %d\n", result);
|
||||||
|
Loading…
Reference in New Issue
Block a user