使用 ios::sync_with_stdio(false);
和 cin.tie(0); 就可以提速啦~~~
在c++中如何才能让cin,cout和scanf printf那样速度快呢?
原文:https://www.cnblogs.com/miao-xixixi/p/12523389.html