Pow()函数使用规范问题: pow()输出的是double型,如果你这样用printf("%d",pow(10,2)); 那就会得到结果0 pow()的其他使用规范见连接https://blog.csdn.net/qq_45803800/article/details/104343077 #include <stdio.h> #include <math.h> int main() { int x1, x2, y1,&nbs...