下面有提示
你用地编译器比较老,不支持C99标准在for循环里声明变量。去掉for循环里的double。https://en.cppreference.com/w/c/language/for
for
double