C++关闭同步的方法

关闭同步,可以提升cin和cout的速度

代码:

std::ios::sync_with_stdio(false);

 

posted @ 2021-02-09 22:06  XA科研  阅读(719)  评论(0编辑  收藏  举报