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

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

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

无聊就学习 反正没事干
原文地址:https://www.cnblogs.com/miao-xixixi/p/12523389.html