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