研究快输时发现的问题:
signed main(){
freopen("x.out","w",stdout);
cin.tie(0)->sync_with_stdio(0);
clock_t b=clock();
for (int i=1;i<=1e7;i++)
cerr<<clock()-b;
return 0;
}
io是oi-wiki上快读快写的板子
printf显著慢于其他,cout关同步流后速度减慢,请问是什么原因
c++14,Dev-C++ 5.11,TDM-GCC 4.9.2 64-bit Debug