除了
freopen("a.in","r",stdin); freopen("a.in","w",stdout); fclose(stdin); fclose(stdout);
以外,其他代码和正常一样吗?