int *ptr=new int [cnt];
ofstream outfxss12;
outfxss12.open("xianshi2.txt");
for (int i=0;i<cnt;i++)
outfxss12<<ptr[i]<<endl;
outfxss12.close();
int *ptr=new int [cnt];
ofstream outfxss12;
outfxss12.open("xianshi2.txt");
for (int i=0;i<cnt;i++)
outfxss12<<ptr[i]<<endl;
outfxss12.close();