#include <stdio.h>
int main(void) {
float x = 1000;
float coefficients[] = {1, -4, 3, -2, 1, -9};
float result = 0;
for (int i = 0; i < sizeof(coefficients)/sizeof(float); i++) {
result = coefficients[i] + result*x;
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CgogICAgZmxvYXQgeCA9IDEwMDA7CiAgICBmbG9hdCBjb2VmZmljaWVudHNbXSA9IHsxLCAtNCwgMywgLTIsIDEsIC05fTsKICAgIGZsb2F0IHJlc3VsdCA9IDA7CgogICAgZm9yIChpbnQgaSA9IDA7IGkgPCBzaXplb2YoY29lZmZpY2llbnRzKS9zaXplb2YoZmxvYXQpOyBpKyspIHsKICAgICAgICByZXN1bHQgPSBjb2VmZmljaWVudHNbaV0gKyByZXN1bHQqeDsKICAgIH0KCiAgICBwcmludGYoIiVmXG4iLCByZXN1bHQpOwogICAgCiAgICByZXR1cm4gMDsKfQ==