摘要:
这题好像有点卡精度啊。。我最后用c++交,ac了# include # include # include # include # define inf 0x3fffffffusing namespace std;int map[8][8];double ave,d[20][10][10][10][10],sum[10][10];double f(int i,int j,int m,int n){ double t = sum[j+1][n+1] - sum[j+1][m] - sum[i][n+1] + sum[i][m]; return (t - ave)*(t- ave);}... 阅读全文