foo.c: In function 'evaluatePolyLinkList':
foo.c:42:42: warning: implicit declaration of function 'pow' [-Wimplicit-function-declaration]
42 | result += current->coefficient * pow(x, current->exponent);
| ^~~
foo.c:3:1: note: include '<math.h>' or provide a declaration of 'pow'
2 | #include <stdlib.h>
+++ |+#include <math.h>
3 |
foo.c:42:42: warning: incompatible implicit declaration of built-in function 'pow' [-Wbuiltin-declaration-mismatch]
42 | result += current->coefficient * pow(x, current->exponent);
| ^~~
foo.c:42:42: note: include '<math.h>' or provide a declaration of 'pow'
[Hydro](https://hydro.ac)提供评测服务