%d:用於int
%ld:用於long
%lld:用於longlong
%f:float
%lf:double
模擬退火篇: https://www.cnblogs.com/peng-ym/p/9158909.html https://blog.csdn.net/numberer/article/details/79996753 https://b
#include<cmath> #include<math.h> M_PI或者acos(-1)//兩種都可以