c++ 流加速

void fio(){
	ios::sync_with_stdio(false);
    cin.tie(0);
    cout.tie(0);
}

更新:
经过测试,在OJ上的运行速度最快的是:只写一条语句 :ios::sync_with_stdio(false);
也就是说做题的时候就写这一条就够了,不要画蛇添足

posted @ 2022-11-17 23:02  林动  阅读(33)  评论(0编辑  收藏  举报