在c++中如何才能让cin,cout和scanf printf那样速度快呢?

在主函数·中·使用 ios::sync_with_stdio(false);

和 cin.tie(0); 就可以提速啦~~~

 

posted @ 2020-03-19 12:13  miao-xixixi  阅读(315)  评论(0编辑  收藏  举报