Initialization

This commit is contained in:
Kozar 2024-03-04 14:35:38 +01:00
parent 09d3c1fe2b
commit 4fc410c322

View File

@ -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);