for(int k=0;k<24;k++)
   {
   double a_k=0;
   }这样好像有些问题,具体怎么改?