#include <time.h>
FILE *stream;
stream = freopen("d://1.txt","a+",stdin);
#ifdef TIME_TEST
clock_t begin,end;
double cost;
begin = clock();
/*《程序代码段》
*filename = "D://1.bmp";
*fprintf(stream,"string:%s/n",MDFile(filename));
*/
end = clock();
cost = (double)(end-begin)/CLOCKS_PER_SEC;
fprintf(stream,"%lf秒/n",cost*1000);
#endif