long start,stop; time(&start);/**//*记录开始时间*/fun1();time(&stop);/**//*记录结束时间*/cout<<"共花时间:"<<(int(stop-start))<<"\n";